cvs: php-bugs-web / search.php
| From: | Rasmus Lerdorf | Date: | Fri, 05 Oct 2001 16:03:12 +0000 |
| Subject: | cvs: php-bugs-web / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6880@lists.php.net to get a copy of this message | ||
rasmus Fri Oct 5 12:03:12 2001 EDT
Modified files:
/php-bugs-web search.php
Log:
Unable to page through search results when search string had a space in it
Fixed
Index: php-bugs-web/search.php
diff -u php-bugs-web/search.php:1.4 php-bugs-web/search.php:1.5
--- php-bugs-web/search.php:1.4 Tue Sep 25 17:20:49 2001
+++ php-bugs-web/search.php Fri Oct 5 12:03:12 2001
@@ -85,7 +85,7 @@
if (!$res) die(htmlspecialchars($query)."<br>".mysql_error());
$rows = mysql_numrows($res);
- $link = "$PHP_SELF?cmd=display&bug_type=" . urlencode ($bug_type) .
"&status=$status&search_for=".htmlspecialchars(stripslashes($search_for))."&php_os=".htmlspecialchars(stripslashes($php_os))."&bug_age=$bug_age&by=$by&order_by=$order_by&direction=$direction&phpver=$phpver&limit=$limit";
+ $link = "$PHP_SELF?cmd=display&bug_type=" . urlencode ($bug_type) .
"&status=$status&search_for=".urlencode(htmlspecialchars(stripslashes($search_for)))."&php_os=".htmlspecialchars(stripslashes($php_os))."&bug_age=$bug_age&by=$by&order_by=$order_by&direction=$direction&phpver=$phpver&limit=$limit";
?>
<table align="center" border="0" cellspacing="2"
width="95%">
<?php show_prev_next($begin,$rows,$total_rows,$link,$limit);?>