Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11077
Modified Files:
bug_update_advanced_page.php bug_update_page.php
Log Message:
bug status options were not properly set if bug_update* was accessed
firectly from view_all and project = 'All Projects'
Index: bug_update_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_update_page.php,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- bug_update_page.php 2 Oct 2004 14:53:02 -0000 1.86
+++ bug_update_page.php 13 Oct 2004 23:35:07 -0000 1.87
@@ -226,9 +226,9 @@
<?php echo lang_get( 'status' ) ?>
</td>
<td bgcolor="<?php echo get_status_color( $t_bug->status ) ?>">
- <?php print_status_option_list( 'status', $t_bug->status, true,
+ <?php print_status_option_list( 'status', $t_bug->status,
( $t_bug->reporter_id ==
auth_get_current_user_id() &&
- ( ON ==
config_get( 'allow_reporter_close' ) ) ) ) ?>
+ ( ON ==
config_get( 'allow_reporter_close' ) ) ), $t_bug->project_id ) ?>
</td>
<?php
Index: bug_update_advanced_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_update_advanced_page.php,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- bug_update_advanced_page.php 2 Oct 2004 14:53:02 -0000 1.82
+++ bug_update_advanced_page.php 13 Oct 2004 23:35:07 -0000 1.83
@@ -228,9 +228,9 @@
<?php echo lang_get( 'status' ) ?>
</td>
<td bgcolor="<?php echo get_status_color( $t_bug->status ) ?>">
- <?php print_status_option_list( 'status', $t_bug->status, true,
+ <?php print_status_option_list( 'status', $t_bug->status,
( $t_bug->reporter_id ==
auth_get_current_user_id() &&
- ( ON ==
config_get( 'allow_reporter_close' ) ) ) ) ?>
+ ( ON ==
config_get( 'allow_reporter_close' ) ) ), $t_bug->project_id ) ?>
</td>
<?php
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
|