]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed defaulting $SESSION->cal_show_user
authormoodler <moodler>
Tue, 25 May 2004 06:36:09 +0000 (06:36 +0000)
committermoodler <moodler>
Tue, 25 May 2004 06:36:09 +0000 (06:36 +0000)
calendar/view.php

index eeea9bb9675ade51592f0a27e4cabb09c4fe34b8..399ba26ed8933d78c0a020f9874cec6a6387e843 100644 (file)
 //  Display the calendar page.
 
     require_once('../config.php');
-    require_once('lib.php');
     require_once('../course/lib.php');
 
     require_login();
 
+    require_once('lib.php');
+
     optional_variable($_GET['view'], 'upcoming');
     optional_variable($_GET['course'], 0);
     optional_variable($_GET['cal_d']);