From e1f96c23490030322ae703102145757db6200000 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 21 Mar 2005 06:14:44 +0000 Subject: [PATCH] SESSION encoding fix from STABLE (2770) --- login/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/login/index.php b/login/index.php index b1460ffc74d..0b735b62d94 100644 --- a/login/index.php +++ b/login/index.php @@ -113,7 +113,10 @@ set_moodle_cookie($USER->username); unset($SESSION->lang); + unset($SESSION->encoding); + $SESSION->justloggedin = true; + $SESSION->encoding = get_string('thischarset'); // Restore the calendar filters, if saved if(intval(get_user_preferences('calendar_persistflt', 0))) {