From 185dc3c81e201cfad32eea62fad235424e4602cc Mon Sep 17 00:00:00 2001 From: Paul Richards Date: Tue, 2 Dec 2008 19:59:34 +0000 Subject: [PATCH] fix 0009893: Users can change status on ViewOnly Tasks Signed-off-by: John Reese --- core/html_api.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/html_api.php b/core/html_api.php index 843ea8af00..b20d5a8102 100644 --- a/core/html_api.php +++ b/core/html_api.php @@ -1180,12 +1180,12 @@ function html_buttons_view_bug_page( $p_bug_id ) { echo ''; html_button_bug_assign_to( $p_bug_id ); echo ''; - } - # Change State button - echo ''; - html_button_bug_change_status( $p_bug_id ); - echo ''; + # Change State button + echo ''; + html_button_bug_change_status( $p_bug_id ); + echo ''; + } # MONITOR/UNMONITOR button echo ''; @@ -1217,12 +1217,12 @@ function html_buttons_view_bug_page( $p_bug_id ) { echo ''; html_button_bug_move( $p_bug_id ); echo ''; - } - # DELETE button - echo ''; - html_button_bug_delete( $p_bug_id ); - echo ''; + # DELETE button + echo ''; + html_button_bug_delete( $p_bug_id ); + echo ''; + } helper_call_custom_function( 'print_bug_view_page_custom_buttons', array( $p_bug_id ) );