From 79fd7ee0f8a1e02b40fb42a3fc93b3dd3e520d87 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 11 Nov 2008 04:13:19 +0000 Subject: Bug 463677: editusers.cgi: Use of uninitialized value in string eq - Patch by Frédéric Buclin r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editusers.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editusers.cgi') 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); -- cgit v1.2.3-24-g4f1b