From 707fbef49859f78a07e9ccacc36ba6c67eb7e861 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 25 May 2004 06:36:09 +0000 Subject: [PATCH] Fixed defaulting $SESSION->cal_show_user --- calendar/view.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']); -- 2.39.5