From: moodler Date: Fri, 1 Nov 2002 01:11:46 +0000 (+0000) Subject: New guest language is same as site X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ad6c33dcaa07d10c41d222d65d81d1559114bdbc;p=moodle.git New guest language is same as site --- diff --git a/login/index.php b/login/index.php index 2a4438b8d4..49c16a8db0 100644 --- a/login/index.php +++ b/login/index.php @@ -11,6 +11,7 @@ $guest->email = "root@localhost"; $guest->description = get_string("guestuserinfo"); $guest->confirmed = 1; + $guest->lang = $CFG->lang; $guest->timemodified= time(); if (! $guest->id = insert_record("user", $guest)) {