From 34fe9705853d907de85924d4948ab431384173b7 Mon Sep 17 00:00:00 2001 From: timeless Date: Tue, 30 Aug 2011 01:22:28 +0200 Subject: Bug 628806: user selection field in editusers should strip leading and trailing whitespace r/a=LpSolit --- editusers.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editusers.cgi') diff --git a/editusers.cgi b/editusers.cgi index 12c4dc230..c25c5e9ef 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -74,7 +74,7 @@ if ($action eq 'search') { ########################################################################### } elsif ($action eq 'list') { my $matchvalue = $cgi->param('matchvalue') || ''; - my $matchstr = $cgi->param('matchstr'); + my $matchstr = trim($cgi->param('matchstr')); my $matchtype = $cgi->param('matchtype'); my $grouprestrict = $cgi->param('grouprestrict') || '0'; my $query = 'SELECT DISTINCT userid, login_name, realname, is_enabled ' . -- cgit v1.2.3-24-g4f1b