cvs: php-bugs-web / bug.php

From: Date: Tue, 25 Nov 2008 18:48:55 +0000
Subject: cvs: php-bugs-web / bug.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-3126@lists.php.net to get a copy of this message
felipe Tue Nov 25 18:48:55 2008 UTC Modified files: /php-bugs-web bug.php Log: - Fix logic http://cvs.php.net/viewvc.cgi/php-bugs-web/bug.php?r1=1.96&r2=1.97&diff_format=u Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.96 php-bugs-web/bug.php:1.97 --- php-bugs-web/bug.php:1.96 Thu Nov 20 17:19:24 2008 +++ php-bugs-web/bug.php Tue Nov 25 18:48:55 2008 @@ -179,7 +179,8 @@ 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['status'] == 'To be documented' || ($in['resolve'] && $RESOLVE_REASONS[$in['resolve']]['status'] == 'To be documented')) { + } elseif (($in['status'] == 'To be documented' && $bug['status'] != $in['status']) || + ($in['resolve'] && $RESOLVE_REASONS[$in['resolve']]['status'] == 'To be documented')) { /* Require explanation */ if (strlen(trim($ncomment)) == 0) { $errors[] = "You must provide a comment to help in the feature/issue documentation";

« previous php.webmaster (#3126) next »