Permalink
Browse files

Fix for bug 1921:

I had forgotten to globalize $USER...
  • Loading branch information...
1 parent a10b3ad commit 969da74d8bd1c496fa974126bb369cf4b55e559a defacer committed Sep 9, 2004
Showing with 1 addition and 0 deletions.
  1. +1 −0 calendar/view.php
View
@@ -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);

0 comments on commit 969da74

Please sign in to comment.