diff options
author | lpsolit%gmail.com <> | 2008-11-11 04:13:19 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-11-11 04:13:19 +0000 |
commit | 79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87 (patch) | |
tree | 578ceaa8cc8806a47c955bd1cb492bdda6b41635 /editusers.cgi | |
parent | Bug 364162: Code determining if named queries should be shown in the page foo... (diff) | |
download | bugzilla-79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87.tar.gz bugzilla-79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87.tar.bz2 bugzilla-79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87.zip |
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-x | editusers.cgi | 2 |
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); |