From 87f3a895f7e71b1671ce0aa8b68f7d91af34e95c Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 30 May 2004 21:55:44 +0000 Subject: [PATCH] Removed the requirement that the admin has to enter a user desription when creating a new account, see bug 778 --- user/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5