Skip to content

Commit

Permalink
Fix #10231: Can't change bugs from Assigned to New
Browse files Browse the repository at this point in the history
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 <jreese@leetcode.net>
  • Loading branch information
bwrightson authored and amyreese committed Apr 1, 2009
1 parent 93c762a commit 0228856
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bug_update.php
Expand Up @@ -89,6 +89,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' );
Expand Down

0 comments on commit 0228856

Please sign in to comment.