svn: /web/php-bugs/trunk/include/ functions.php

From: Date: Thu, 16 Dec 2010 11:00:01 +0000
Subject: svn: /web/php-bugs/trunk/include/ functions.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9729@lists.php.net to get a copy of this message
felipe Thu, 16 Dec 2010 11:00:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306399 Log: - Fixed status list when bugs is closed Changed paths: U web/php-bugs/trunk/include/functions.php Modified: web/php-bugs/trunk/include/functions.php =================================================================== --- web/php-bugs/trunk/include/functions.php 2010-12-16 08:36:30 UTC (rev 306398) +++ web/php-bugs/trunk/include/functions.php 2010-12-16 11:00:01 UTC (rev 306399) @@ -545,8 +545,9 @@ } } else { foreach($state_types as $type => $mode) { - if ($state == 'Closed' && $type == 'Open') { - $type = 'Re-Opened'; + if (($state == 'Closed' && $type == 'Open') + || ($state == 'Open' && $type == 'Re-Opened')) { + continue; } if ($mode >= $user_mode) { echo '<option';

« previous php.webmaster (#9729) next »