]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-321 Fixed bug in user...
authormartinlanghoff <martinlanghoff>
Thu, 18 Nov 2004 02:47:02 +0000 (02:47 +0000)
committermartinlanghoff <martinlanghoff>
Thu, 18 Nov 2004 02:47:02 +0000 (02:47 +0000)
admin/user.php

index 0ae6d8f99ae3b54cff27f97761b6b9267bac80ba..de3c81e813fa95e45ac40b8cdc9afba05144d67e 100644 (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