]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 682747: Wrong check in editusers.cgi
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Aug 2011 23:11:55 +0000 (01:11 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Aug 2011 23:11:55 +0000 (01:11 +0200)
r/a=mkanat

editusers.cgi

index 2efdd01c8dad1fd5aab93e46c8ef6d4292f9a445..12c4dc2304af7db28d1d77b9edcacdee325b94c7 100755 (executable)
@@ -137,7 +137,7 @@ if ($action eq 'search') {
                 $expr = "profiles.login_name";
             }
 
-            if ($matchstr =~ /^(regexp|notregexp|exact)$/) {
+            if ($matchtype =~ /^(regexp|notregexp|exact)$/) {
                 $matchstr ||= '.';
             }
             else {