From c7ae62abc997881fbc7fbadf4aa662bcc294ff2e Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 30 Aug 2011 01:09:48 +0200 Subject: Bug 682747: Wrong check in editusers.cgi r/a=mkanat --- editusers.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editusers.cgi b/editusers.cgi index 2efdd01c8..12c4dc230 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 { -- cgit v1.2.3-24-g4f1b