Commit 34fe9705 authored by timeless's avatar timeless Committed by Frédéric Buclin

Bug 628806: user selection field in editusers should strip leading and trailing whitespace

r/a=LpSolit
parent bc10a490
...@@ -74,7 +74,7 @@ if ($action eq 'search') { ...@@ -74,7 +74,7 @@ if ($action eq 'search') {
########################################################################### ###########################################################################
} elsif ($action eq 'list') { } elsif ($action eq 'list') {
my $matchvalue = $cgi->param('matchvalue') || ''; my $matchvalue = $cgi->param('matchvalue') || '';
my $matchstr = $cgi->param('matchstr'); my $matchstr = trim($cgi->param('matchstr'));
my $matchtype = $cgi->param('matchtype'); my $matchtype = $cgi->param('matchtype');
my $grouprestrict = $cgi->param('grouprestrict') || '0'; my $grouprestrict = $cgi->param('grouprestrict') || '0';
my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled ' . my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled ' .
......
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