From: gustav_delius Date: Sun, 30 May 2004 21:55:44 +0000 (+0000) Subject: Removed the requirement that the admin has to enter a user desription when creating... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=87f3a895f7e71b1671ce0aa8b68f7d91af34e95c;p=moodle.git Removed the requirement that the admin has to enter a user desription when creating a new account, see bug 778 --- diff --git a/user/edit.php b/user/edit.php index 19adfa2b1e..d58f4ed8ab 100644 --- a/user/edit.php +++ b/user/edit.php @@ -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))