From 8e487c3dca9d641c46af11aa1a08af8eeffefac3 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 13 Jun 2003 02:37:52 +0000 Subject: [PATCH] Fixed a bug when admins edit user accounts from external databases --- user/edit.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/user/edit.html b/user/edit.html index aa2d421069..5a60961561 100644 --- a/user/edit.html +++ b/user/edit.html @@ -14,22 +14,25 @@ if (isadmin()) { echo ""; echo "

".get_string("username").":"; - if($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){ - echo "auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){ + echo "username); echo "\">"; if (isset($err["username"])) formerr($err["username"]); - }else { + } else { echo ""; p($user->username); + echo "username); + echo "\">"; } echo ""; echo ""; - if($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){ + if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){ echo ""; echo "

".get_string("newpassword").":"; - echo "newpassword)) p($user->newpassword); echo "\">"; if (isset($err["newpassword"])) { -- 2.39.5