From 3215a9ac966e3cba1a6b32ce2eaea659ca0e495a Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Mon, 4 Oct 2010 17:38:55 +0200 Subject: [PATCH] Fix #11502 Close button not displayed when allow_reporter_close is set Display the "Change State" button for Reporters on Resolved issues when allow_reporter_close is set (even if issue is read-only) --- core/html_api.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/core/html_api.php b/core/html_api.php index 61be4d4..4a2d2fb 100644 --- a/core/html_api.php +++ b/core/html_api.php @@ -1635,7 +1635,9 @@ function html_buttons_view_bug_page( $p_bug_id ) { echo ''; html_button_bug_assign_to( $p_bug_id ); echo ''; + } + if( !$t_readonly || ( ON == config_get( 'allow_reporter_close' )) ) { # Change State button echo ''; html_button_bug_change_status( $p_bug_id ); -- 1.7.1