cvs: php-bugs-web /include functions.inc
| From: | Jani Taskinen | Date: | Thu, 30 Aug 2007 09:41:42 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-36322@lists.php.net to get a copy of this message | ||
jani Thu Aug 30 09:41:42 2007 UTC
Modified files:
/php-bugs-web/include functions.inc
Log:
- Bogus stays bogus.
http://cvs.php.net/viewvc.cgi/php-bugs-web/include/functions.inc?r1=1.222&r2=1.223&diff_format=u
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.222 php-bugs-web/include/functions.inc:1.223
--- php-bugs-web/include/functions.inc:1.222 Thu Aug 23 22:59:32 2007
+++ php-bugs-web/include/functions.inc Thu Aug 30 09:41:42 2007
@@ -112,7 +112,9 @@
}
/* regular users can only pick states with type 2 for unclosed bugs */
- if($state != "All" && $state_types[$state] == 1 && $user_mode == 2) {
+ if ($user_mode == 2 && $state == 'Bogus') {
+ echo "<option>Bogus</option>\n";
+ } else if($state != "All" && $state_types[$state] == 1 && $user_mode ==
2) {
/* If state was 'Feedback', set state to 'Open' automatically. */
if($state == "Feedback" || $state == "No Feedback") {
echo "<option>Open</option>\n";