cvs: php-bugs-web / lstats.php

From: Date: Mon, 30 Jun 2003 02:44:16 +0000
Subject: cvs: php-bugs-web / lstats.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19033@lists.php.net to get a copy of this message
sniper Sun Jun 29 22:44:16 2003 EDT Modified files: /php-bugs-web lstats.php Log: Exclude the irrelevant categories in the summary display too. Index: php-bugs-web/lstats.php diff -u php-bugs-web/lstats.php:1.8 php-bugs-web/lstats.php:1.9 --- php-bugs-web/lstats.php:1.8 Tue Mar 11 21:13:26 2003 +++ php-bugs-web/lstats.php Sun Jun 29 22:44:16 2003 @@ -21,10 +21,11 @@ $excluded = "'Feature/Change Request', 'Website Problem', 'PEAR related', 'Documentation problem'"; if ($category != '') { - $query.= " $status AND bug_type='$category'"; + $query.= " $status AND bug_type='$category' "; } else { - $query.= " status='$status' AND bug_type NOT IN($excluded)"; + $query.= " status='$status' "; } + $query.= "AND bug_type NOT IN($excluded)"; $result=mysql_unbuffered_query($query); $row=mysql_fetch_row($result);

« previous php.mirrors (#19033) next »