Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a07f75e

Browse files
committedJan 13, 2013
bug_report.php: Use NO_USER instead of magic constant
1 parent e20564d commit a07f75e

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
@@ -136,7 +136,7 @@
136136
$t_bug_data = event_signal( 'EVENT_REPORT_BUG_DATA', $t_bug_data );
137137

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

0 commit comments

Comments
 (0)
Please sign in to comment.