Skip to content

Commit a83d43f

Browse files
committedJan 13, 2013
bug_report.php: Use NO_USER instead of magic constant
1 parent 150e9f7 commit a83d43f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bug_report.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
$t_bug_data = event_signal( 'EVENT_REPORT_BUG_DATA', $t_bug_data );
186186

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

0 commit comments

Comments
 (0)
Please sign in to comment.