From: moodler Date: Tue, 25 May 2004 06:36:09 +0000 (+0000) Subject: Fixed defaulting $SESSION->cal_show_user X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=707fbef49859f78a07e9ccacc36ba6c67eb7e861;p=moodle.git Fixed defaulting $SESSION->cal_show_user --- diff --git a/calendar/view.php b/calendar/view.php index eeea9bb967..399ba26ed8 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -41,11 +41,12 @@ // 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']);