From 9a2ba13e51371f549e024d771c2fbc67b0c19765 Mon Sep 17 00:00:00 2001 From: defacer Date: Thu, 20 May 2004 15:36:20 +0000 Subject: [PATCH] One more bugfix introduced just now: enabling course events shouldn't enable site events, too. --- calendar/lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/lib.php b/calendar/lib.php index 5927bb7b39..538afd89ae 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -943,6 +943,7 @@ function calendar_set_filters(&$courses, &$group, &$user, $courseeventsfrom = NU else if(is_array($courseeventsfrom)) { $courses = array_keys($courseeventsfrom); } + $courses = array_diff($courses, array(1)); } else if($SESSION->cal_show_global) { $courses = array(1); -- 2.39.5