[git] web/bugs.git branch master updated. f161f9e
| From: | felipe@php.net | Date: | Fri, 27 Jan 2012 20:22:25 +0000 |
| Subject: | [git] web/bugs.git branch master updated. f161f9e | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12983@lists.php.net to get a copy of this message | ||
The branch, master on web/bugs.git has been updated
via f161f9e28c1919eae218b520d34d5ec81b2832f3 (commit)
from c3110c33dc09810fbc7bf0aac7fc00b5d630f46f (commit)
http://git.php.net/?p=web/bugs.git;a=log;h=f161f9e28c1919eae218b520d34d5ec81b2832f3;hp=c3110c33dc09810fbc7bf0aac7fc00b5d630f46f
Summary of changes:
include/functions.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-- Log ----------------------------------------
commit f161f9e28c1919eae218b520d34d5ec81b2832f3
Author: Felipe Pena <felipensp@gmail.com>
Date: Fri Jan 27 18:16:59 2012 -0200
- Fix warning
diff --git a/include/functions.php b/include/functions.php
index f88007e..30e0c86 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' && $state_types[$state] == 1 && $user_mode == 2) {
+ if ($state != 'All' && isset($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.