Removed the requirement that the admin has to enter a user desription when creating a new account, see bug 778

This commit is contained in:
gustav_delius
2004-05-30 21:55:44 +00:00
parent 33f1e54318
commit 87f3a895f7
+1 -1
View 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))