From 3395a558c96b427399a15bb36af5976368b0ab8b Mon Sep 17 00:00:00 2001 From: defacer Date: Thu, 9 Sep 2004 11:55:00 +0000 Subject: [PATCH] Importing fix for bug 1921 from stable. --- calendar/view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/view.php b/calendar/view.php index e57d524d20..8ade21a9fd 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -510,6 +510,7 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users) { } function calendar_show_upcoming_events($courses, $groups, $users, $futuredays, $maxevents) { + global $USER; $events = calendar_get_upcoming($courses, $groups, $users, $futuredays, $maxevents); -- 2.39.5