[git] web/bugs.git branch master updated. e2035e6
| From: | rasmus@php.net | Date: | Sat, 18 Feb 2012 07:21:07 +0000 |
| Subject: | [git] web/bugs.git branch master updated. e2035e6 | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13071@lists.php.net to get a copy of this message | ||
The branch, master on web/bugs.git has been updated
via e2035e6666c9cc080637a38b33890f980462fcc3 (commit)
from 6299778a30bad58431f4af30bde486f0e5e8db29 (commit)
http://git.php.net/?p=web/bugs.git;a=log;h=e2035e6666c9cc080637a38b33890f980462fcc3;hp=6299778a30bad58431f4af30bde486f0e5e8db29
Summary of changes:
www/index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-- Log ----------------------------------------
commit e2035e6666c9cc080637a38b33890f980462fcc3
Author: Rasmus Lerdorf <rasmus@php.net>
Date: Fri Feb 17 23:13:06 2012 -0800
Ignore No feedback bugs as well in the random bug lookup
diff --git a/www/index.php b/www/index.php
index 4cefb0a..4fd0292 100644
--- a/www/index.php
+++ b/www/index.php
@@ -15,7 +15,7 @@ if ($id) {
}
if($_SERVER['REQUEST_URI'] == '/random') {
- $query = "select id from bugdb where status!='Closed' and status!='Not a
bug' and status!='Duplicate' and status!='Spam' and status!='Wont
fix' order by rand() limit 1";
+ $query = "select id from bugdb where status!='Closed' and status!='Not a
bug' and status!='Duplicate' and status!='Spam' and status!='Wont
fix' and status!='No Feedback' order by rand() limit 1";
$result = $dbh->prepare($query)->execute();
$id = $result->fetchRow();
Thank you for your contribution.