From d66f0c9e102de2b3a7216c4ad6af78486adef0d7 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 15 Feb 2007 22:03:29 +0000 Subject: [PATCH] fixed problem on user edit page when user not fully setup, reverted guest handling --- user/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/edit.php b/user/edit.php index 21285c0086..26e01d938b 100644 --- a/user/edit.php +++ b/user/edit.php @@ -23,7 +23,7 @@ redirect($CFG->httpswwwroot.'/login/index.php'); } - if (isguestuser()) { + if (isguest()) { //TODO: add proper capability to edit own profile and change password too print_error('guestnoeditprofile'); } if (!$user = get_record('user', 'id', $USER->id)) { -- 2.39.5