[git] web/bugs.git branch master updated. d299197

From: Date: Fri, 27 Jan 2012 20:31:21 +0000
Subject: [git] web/bugs.git branch master updated. d299197
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12982@lists.php.net to get a copy of this message
The branch, master on web/bugs.git has been updated via d2991977d97b30f0489f727868291b4b3bf60514 (commit) from f161f9e28c1919eae218b520d34d5ec81b2832f3 (commit) http://git.php.net/?p=web/bugs.git;a=log;h=d2991977d97b30f0489f727868291b4b3bf60514;hp=f161f9e28c1919eae218b520d34d5ec81b2832f3 Summary of changes: include/functions.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Log ---------------------------------------- commit d2991977d97b30f0489f727868291b4b3bf60514 Author: Felipe Pena <felipensp@gmail.com> Date: Fri Jan 27 18:25:57 2012 -0200 - Fix the fix diff --git a/include/functions.php b/include/functions.php index 30e0c86..6ba26a7 100644 --- a/include/functions.php +++ b/include/functions.php @@ -565,7 +565,7 @@ function show_state_options($state, $user_mode = 0, $default = '', $assigned = 0 /* regular users can only pick states with type 2 for unclosed bugs */ - if ($state != 'All' && isset($state_types[$state]) == 1 && $user_mode == 2) { + if ($state != 'All' && isset($state_types[$state]) && $state_types[$state] == 1 && $user_mode == 2) { switch ($state) { /* If state was 'Feedback', set state automatically to 'Assigned' if the bug was Thank you for your contribution.

« previous php.webmaster (#12982) next »