From a0f86b5d25f291b40321a0b440f3cd0987378191 Mon Sep 17 00:00:00 2001 From: timeless Date: Tue, 30 Aug 2011 01:23:40 +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(-) 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