From 3b837f17fb92d51c72c047474dc33c6cc0b21790 Mon Sep 17 00:00:00 2001 From: Brian Wrightson Date: Tue, 31 Mar 2009 23:04:53 -0400 Subject: [PATCH] Fix #10231: Can't change bugs from Assigned to New Put in a check so that an issue won't be auto-assigned if the Handler is updated but the Status is not. Signed-off-by: John Reese --- bug_update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bug_update.php b/bug_update.php index 8ee7c33ec4..f616481fe6 100644 --- a/bug_update.php +++ b/bug_update.php @@ -98,6 +98,7 @@ # Handle auto-assigning if ( ( NEW_ == $t_bug_data->status ) + && ( $t_bug_data->status == $t_old_bug_status ) && ( 0 != $t_bug_data->handler_id ) && ( ON == config_get( 'auto_set_status_to_assigned' ) ) ) { $t_bug_data->status = config_get( 'bug_assigned_status' );