summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 3e5cce990..7b167d0c0 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -126,7 +126,7 @@ sub match {
my $query = "SELECT userid, realname, login_name " .
"FROM profiles " .
"WHERE login_name = $sqlstr ";
- $query .= "AND disabledtext = '' " if $exclude_disabled;
+ # Exact matches don't care if a user is disabled.
&::PushGlobalSQLState();
&::SendSQL($query);