moodle--eduforge--1.3.3--patch-321 Fixed bug in user search: now we trim() the search string

This commit is contained in:
martinlanghoff
2004-11-18 02:46:30 +00:00
parent 7380fc552a
commit ff75e0fe8a
+3
View File
@@ -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