cvs: php-bugs-web / lstats.php

From: Date: Thu, 27 Feb 2003 15:22:22 +0000
Subject: cvs: php-bugs-web / lstats.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15934@lists.php.net to get a copy of this message
sniper Thu Feb 27 10:22:22 2003 EDT Modified files: /php-bugs-web lstats.php Log: Exclude some categories more.. Index: php-bugs-web/lstats.php diff -u php-bugs-web/lstats.php:1.5 php-bugs-web/lstats.php:1.6 --- php-bugs-web/lstats.php:1.5 Sat Feb 8 03:21:50 2003 +++ php-bugs-web/lstats.php Thu Feb 27 10:22:21 2003 @@ -17,10 +17,13 @@ $query .= " php_version LIKE '" . $phpver . "%' AND"; } + /* Categories which are excluded from bug count */ + $excluded = "'Feature/Change Request', 'Website Problem', 'PEAR related'"; + if ($category != '') { - $query.= " $status AND bug_type='$category' AND bug_type != 'Feature/Change Request'"; + $query.= " $status AND bug_type='$category'"; } else { - $query.= " status='$status' AND bug_type != 'Feature/Change Request'"; + $query.= " status='$status' AND bug_type NOT IN($exclude)"; } $result=mysql_unbuffered_query($query);

« previous php.mirrors (#15934) next »