From: Frédéric Buclin Date: Mon, 29 Aug 2011 23:11:55 +0000 (+0200) Subject: Bug 682747: Wrong check in editusers.cgi X-Git-Tag: bugzilla-4.2rc1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64c6e86ef7e7f39115ca03965da6fd64b0c2844;p=thirdparty%2Fbugzilla.git Bug 682747: Wrong check in editusers.cgi r/a=mkanat --- diff --git a/editusers.cgi b/editusers.cgi index 2efdd01c8d..12c4dc2304 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 {