Skip to content

Commit

Permalink
bug_report.php: Use NO_USER instead of magic constant
Browse files Browse the repository at this point in the history
  • Loading branch information
rombert committed Jan 13, 2013
1 parent 150e9f7 commit a83d43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bug_report.php
Expand Up @@ -185,7 +185,7 @@
$t_bug_data = event_signal( 'EVENT_REPORT_BUG_DATA', $t_bug_data );

# Ensure that resolved bugs have a handler
if ( $t_bug_data->handler_id == 0 && $t_bug_data->status >= config_get( 'bug_resolved_status_threshold' ) ) {
if ( $t_bug_data->handler_id == NO_USER && $t_bug_data->status >= config_get( 'bug_resolved_status_threshold' ) ) {
$t_bug_data->handler_id = auth_get_current_user_id();
}

Expand Down

0 comments on commit a83d43f

Please sign in to comment.