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:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user