Commit 79fd7ee0 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 463677: editusers.cgi: Use of uninitialized value in string eq - Patch by…

Bug 463677: editusers.cgi: Use of uninitialized value in string eq - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
parent 92bcb0d9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment