From: Frédéric Buclin Date: Mon, 29 Aug 2011 23:13:22 +0000 (+0200) Subject: Bug 682747: Wrong check in editusers.cgi X-Git-Tag: bugzilla-4.0.3~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aedacf7cc2e2254a326de4c4756a842d84e8bf09;p=thirdparty%2Fbugzilla.git Bug 682747: Wrong check in editusers.cgi r/a=mkanat --- diff --git a/editusers.cgi b/editusers.cgi index f53fde9858..e6b73bc539 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -137,7 +137,7 @@ if ($action eq 'search') { $expr = "profiles.login_name"; } - if ($matchstr =~ /^(regexp|notregexp|exact)$/) { + if ($matchtype =~ /^(regexp|notregexp|exact)$/) { $matchstr ||= '.'; } else {