]> git.mjollnir.org Git - moodle.git/commitdiff
Removed the requirement that the admin has to enter a user desription when creating...
authorgustav_delius <gustav_delius>
Sun, 30 May 2004 21:55:44 +0000 (21:55 +0000)
committergustav_delius <gustav_delius>
Sun, 30 May 2004 21:55:44 +0000 (21:55 +0000)
user/edit.php

index 19adfa2b1ec234e0ae61bc95b34af130b027f8b7..d58f4ed8ab145c714f8c3ddfff7d310863ad2c8e 100644 (file)
@@ -231,7 +231,7 @@ function find_form_errors(&$user, &$usernew, &$err) {
     if (empty($usernew->email))
         $err["email"] = get_string("missingemail");
 
-    if (empty($usernew->description))
+    if (empty($usernew->description) and !isadmin())
         $err["description"] = get_string("missingdescription");
 
     if (empty($usernew->city))