cvs: php-bugs-web / bugstats.php
| From: | Sterling Hughes | Date: | Mon, 28 Jan 2002 14:37:45 +0000 |
| Subject: | cvs: php-bugs-web / bugstats.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8327@lists.php.net to get a copy of this message | ||
sterling Mon Jan 28 09:37:45 2002 EDT
Modified files:
/php-bugs-web bugstats.php
Log:
fix stupid bug i introduced
Index: php-bugs-web/bugstats.php
diff -u php-bugs-web/bugstats.php:1.7 php-bugs-web/bugstats.php:1.8
--- php-bugs-web/bugstats.php:1.7 Sun Jan 27 21:42:22 2002
+++ php-bugs-web/bugstats.php Mon Jan 28 09:37:45 2002
@@ -29,13 +29,13 @@
while($row=mysql_fetch_array($result)) {
$bug_type['all'][$row[bug_type]]++;
- $status = strtolower($row['status']);
- if ($status == 'closed' || $status == 'bogus') {
+ $status_str = strtolower($row['status']);
+ if ($status_str == 'closed' || $status_str == 'bogus') {
$closed_by[$row['dev_id']]++;
}
- $bug_type[$status][$row[bug_type]]++;
- $bug_type[$status]['all']++;
+ $bug_type[$status_str][$row[bug_type]]++;
+ $bug_type[$status_str]['all']++;
$email[$row[email]]++;
$php_version[$row[php_version]]++;
$php_os[$row[php_os]]++;