]> 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:13:22 +0000 (01:13 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 29 Aug 2011 23:13:22 +0000 (01:13 +0200)
r/a=mkanat

editusers.cgi

index f53fde98582edaa04333f1a959954ad8ad75b903..e6b73bc53983a9647d0adebb9e8d2b5331cc56c1 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 {