]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 177435 exact match on assignee fails with user matching
authorbugreport%peshkin.net <>
Fri, 1 Nov 2002 06:34:42 +0000 (06:34 +0000)
committerbugreport%peshkin.net <>
Fri, 1 Nov 2002 06:34:42 +0000 (06:34 +0000)
patch by not_erik
r=myk,joel

Bugzilla/User.pm

index 3e5cce99062ec69fcfbe3e339681bda7f0b4b07f..7b167d0c059e6702d34beafb0596252d41c88388 100644 (file)
@@ -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);