cvs: phpweb / bugs.php
| From: | Jacques Marneweck | Date: | Thu, 02 Aug 2001 20:12:48 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5822@lists.php.net to get a copy of this message | ||
jacques Thu Aug 2 16:12:48 2001 EDT
Modified files:
/phpweb bugs.php
Log:
* This should fix the problem with the bugs.php script returning the
message "No bugs with the specified criteria were found." where there
are in fact entries.
--jm
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.172 phpweb/bugs.php:1.173
--- phpweb/bugs.php:1.172 Fri Jul 27 12:04:02 2001
+++ phpweb/bugs.php Thu Aug 2 16:12:47 2001
@@ -193,7 +193,7 @@
echo "<h2 class=\"error\">No bugs with the specified criteria were
found.</h2>";
}
else {
- $link =
"$PHP_SELF?cmd=display&bug_type=$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=".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,$link,$limit);?>