summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-08-30 01:09:48 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-30 01:09:48 +0200
commitc7ae62abc997881fbc7fbadf4aa662bcc294ff2e (patch)
tree80847f6e63855f96e2e6b8e1ac49b86b175c6f7b /editusers.cgi
parentea946eb23e405553861997b9158847dee59dd722 (diff)
downloadbugzilla-c7ae62abc997881fbc7fbadf4aa662bcc294ff2e.tar.gz
bugzilla-c7ae62abc997881fbc7fbadf4aa662bcc294ff2e.tar.xz
Bug 682747: Wrong check in editusers.cgi
r/a=mkanat
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
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 {