cvs: php-bugs-web / bug.php

[email protected] ("Felipe Pena")
Newsgroups php.webmaster
Message-ID <cvsfelipe1226245765@cvsserver>
felipe		Sun Nov  9 15:49:25 2008 UTC

  Modified files:              
    /php-bugs-web	bug.php 
  Log:
  - Fix check for when quickfix is used
  
http://cvs.php.net/viewvc.cgi/php-bugs-web/bug.php?r1=1.94&r2=1.95&diff_format=u
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.94 php-bugs-web/bug.php:1.95
--- php-bugs-web/bug.php:1.94	Thu Nov  6 15:15:48 2008
+++ php-bugs-web/bug.php	Sun Nov  9 15:49:24 2008
@@ -179,7 +179,7 @@
 	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') {
+	} elseif ($in['status'] == 'To be documented' || ($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";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.