New guest language is same as site
authormoodler <moodler>
Fri, 1 Nov 2002 01:11:46 +0000 (01:11 +0000)
committermoodler <moodler>
Fri, 1 Nov 2002 01:11:46 +0000 (01:11 +0000)
login/index.php

index 2a4438b..49c16a8 100644 (file)
@@ -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)) {