Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1857
Modified Files:
bug_change_status_page.php
Log Message:
fix for 0005095: Close bug page needs to show resolution dropdown...
Resolution dropdown will show up on close if it is still open or reopened
Index: bug_change_status_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_change_status_page.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- bug_change_status_page.php 8 Jan 2005 15:50:26 -0000 1.14
+++ bug_change_status_page.php 11 Jan 2005 23:40:32 -0000 1.15
@@ -87,7 +87,8 @@
?>
<?php
-if ( ( $t_resolved <= $f_new_status ) && ( CLOSED > $f_new_status ) ) { ?>
+$t_current_resolution = $t_bug->resolution;
+if ( ( $t_resolved <= $f_new_status ) && ( ( CLOSED > $f_new_status ) || (
in_array( $t_current_resolution, array( OPEN, REOPENED ) ) ) ) ) { ?>
<!-- Resolution -->
<tr <?php echo helper_alternate_class() ?>>
<td class="category">
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|