diff --git a/admin/user.php b/admin/user.php index 0ae6d8f99ae..de3c81e813f 100644 --- a/admin/user.php +++ b/admin/user.php @@ -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