diff options
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); |