summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-11-01 07:34:42 +0100
committerbugreport%peshkin.net <>2002-11-01 07:34:42 +0100
commit946decbac253f56f7a0ae976fe3fa014c308e87e (patch)
tree0dec402f884db580a4d18979ea6101ab5a8835c7
parent8a30977ef72b7501fa2db8259816bbc396f5b5f2 (diff)
downloadbugzilla-946decbac253f56f7a0ae976fe3fa014c308e87e.tar.gz
bugzilla-946decbac253f56f7a0ae976fe3fa014c308e87e.tar.xz
Bug 177435 exact match on assignee fails with user matching
patch by not_erik r=myk,joel
-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);