cvs: php-bugs-web / bug.php
| From: | Jani Taskinen | Date: | Fri, 17 Oct 2003 03:01:29 +0000 |
| Subject: | cvs: php-bugs-web / bug.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-21550@lists.php.net to get a copy of this message | ||
sniper Thu Oct 16 23:01:29 2003 EDT
Modified files:
/php-bugs-web bug.php
Log:
Reduce the amount of useless comments and waste of time.
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.52 php-bugs-web/bug.php:1.53
--- php-bugs-web/bug.php:1.52 Mon Feb 17 05:01:54 2003
+++ php-bugs-web/bug.php Thu Oct 16 23:01:29 2003
@@ -136,7 +136,8 @@
$errors[] = "The username or password you supplied was incorrect.";
}
- if ((($in['status'] == 'Bogus' && $bug['status'] !=
'Bogus') || $RESOLVE_REASONS[$in['resolve']]['status'] ==
'Bogus')
+ /* Require comment for open bugs only */
+ if ($in['status'] == 'Bogus' && !in_array($bug['status'],
array ('Bogus', 'Closed', 'Duplicate', 'No feedback',
'Wont fix'))
&& strlen(trim($ncomment)) == 0) {
$errors[] = "You must provide a comment when marking a bug 'Bogus'";
} elseif ($in['resolve']) {