svn: /web/php-bugs/trunk/www/ fix.php
| From: | Felipe Pena | Date: | Tue, 28 Jun 2011 22:48:09 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ fix.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11342@lists.php.net to get a copy of this message | ||
felipe Tue, 28 Jun 2011 22:48:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312605
Log:
- Fix warning
Changed paths:
U web/php-bugs/trunk/www/fix.php
Modified: web/php-bugs/trunk/www/fix.php
===================================================================
--- web/php-bugs/trunk/www/fix.php 2011-06-28 22:42:49 UTC (rev 312604)
+++ web/php-bugs/trunk/www/fix.php 2011-06-28 22:48:09 UTC (rev 312605)
@@ -43,7 +43,7 @@
$errors[] = 'You have to use a valid reason to resolve this bug.';
}
-if ($RESOLVE_REASONS[$reason]['status'] == 'Bogus' && $ncomment ==
'') {
+if (isset($RESOLVE_REASONS[$reason]) && $RESOLVE_REASONS[$reason]['status'] ==
'Bogus' && $ncomment == '') {
$errors[] = 'You must provide a comment when marking a bug \'Bogus\'';
}