Permalink
Browse files

moodle--eduforge--1.3.3--patch-321 Fixed bug in user search: now we t…

…rim() the search string
  • Loading branch information...
1 parent 7380fc5 commit ff75e0fe8a36728032851690bfb946f6e03d29ee martinlanghoff committed Nov 18, 2004
Showing with 3 additions and 0 deletions.
  1. +3 −0 admin/user.php
View
@@ -10,6 +10,9 @@
optional_variable($dir, "ASC");
optional_variable($page, 0);
optional_variable($search, "");
+ if (!empty($search)) {
+ $search=trim($search);
+ }
optional_variable($lastinitial, ""); // only show students with this last initial
optional_variable($firstinitial, ""); // only show students with this first initial
optional_variable($perpage, "30"); // how many per page

0 comments on commit ff75e0f

Please sign in to comment.