From: moodler Date: Sun, 4 Jan 2004 05:04:10 +0000 (+0000) Subject: Fix appearance of Guest User's name. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4f3d1a638f14c3a5c880e7cc3c49c0d5851107a3;p=moodle.git Fix appearance of Guest User's name. --- diff --git a/login/index.php b/login/index.php index 98deab3ef9..58517f459b 100644 --- a/login/index.php +++ b/login/index.php @@ -52,6 +52,7 @@ if ($USER->username == "guest") { $USER->lang = $CFG->lang; // Guest language always same as site $USER->firstname = get_string("guestuser"); // Name always in current language + $USER->lastname = " "; } if (!update_user_in_db()) {