summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-08-30 01:11:55 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-08-30 01:11:55 +0200
commitb64c6e86ef7e7f39115ca03965da6fd64b0c2844 (patch)
tree808dffe8d58410be5b623edc596f31186141b06c
parent0a943db6355ef9375db7d567eef52d783df1d68a (diff)
downloadbugzilla-b64c6e86ef7e7f39115ca03965da6fd64b0c2844.tar.gz
bugzilla-b64c6e86ef7e7f39115ca03965da6fd64b0c2844.tar.xz
Bug 682747: Wrong check in editusers.cgi
r/a=mkanat
-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 {