summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-11-11 05:13:19 +0100
committerlpsolit%gmail.com <>2008-11-11 05:13:19 +0100
commit79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87 (patch)
tree578ceaa8cc8806a47c955bd1cb492bdda6b41635 /editusers.cgi
parent92bcb0d9b836c27fa7cbfe57e5de1666be3dde76 (diff)
downloadbugzilla-79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87.tar.gz
bugzilla-79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87.tar.xz
Bug 463677: editusers.cgi: Use of uninitialized value in string eq - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
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 a75f42040..ea477a372 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -170,7 +170,7 @@ if ($action eq 'search') {
}
- if ($matchtype eq 'exact' && scalar(@{$vars->{'users'}}) == 1) {
+ if ($matchtype && $matchtype eq 'exact' && scalar(@{$vars->{'users'}}) == 1) {
my $match_user_id = $vars->{'users'}[0]->{'userid'};
my $match_user = check_user($match_user_id);
edit_processing($match_user);