From ad29a1cefe8f5b77efdc51f00f68127b0e50daa4 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 The "auto-assign handling" was preventing the ability to assign a bug that was assigned to a User back to New status. I can't see that this piece of code does anything except cause that problem so I removed it. --- bug_update.php | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/bug_update.php b/bug_update.php index e1e7747..7a5f5b9 100644 --- a/bug_update.php +++ b/bug_update.php @@ -87,13 +87,6 @@ $f_time_tracking = gpc_get_string( 'time_tracking', '0:00' ); $f_close_now = gpc_get_string( 'close_now', false ); - # Handle auto-assigning - if ( ( NEW_ == $t_bug_data->status ) - && ( 0 != $t_bug_data->handler_id ) - && ( ON == config_get( 'auto_set_status_to_assigned' ) ) ) { - $t_bug_data->status = config_get( 'bug_assigned_status' ); - } - helper_call_custom_function( 'issue_update_validate', array( $f_bug_id, $t_bug_data, $f_bugnote_text ) ); $t_resolved = config_get( 'bug_resolved_status_threshold' ); -- 1.6.1