cvs: pearweb /public_html/bugs bug.php
| From: | Greg Beaver | Date: | Sun, 25 Mar 2007 03:15:59 +0000 |
| Subject: | cvs: pearweb /public_html/bugs bug.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-45408@lists.php.net to get a copy of this message | ||
cellog Sun Mar 25 03:15:59 2007 UTC
Modified files:
/pearweb/public_html/bugs bug.php
Log:
fix logic error in assigned roadmap display if not assigned
to any roadmaps, or no roadmaps exist
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.142&r2=1.143&diff_format=u
Index: pearweb/public_html/bugs/bug.php
diff -u pearweb/public_html/bugs/bug.php:1.142 pearweb/public_html/bugs/bug.php:1.143
--- pearweb/public_html/bugs/bug.php:1.142 Sun Mar 25 00:29:46 2007
+++ pearweb/public_html/bugs/bug.php Sun Mar 25 03:15:59 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: bug.php,v 1.142 2007/03/25 00:29:46 cellog Exp $
+ * @version $Id: bug.php,v 1.143 2007/03/25 03:15:59 cellog Exp $
*/
/*
@@ -652,8 +652,9 @@
'</a>';
}
}
- } else {
- $assignedRoadmap[] = '(No roadmap defined)';
+ }
+ if (!count($assignedRoadmap)) {
+ $assignedRoadmap[] = '(Not assigned)';
}
?>
<tr id="roadmap">