From 9cc67480a5ad46c52bbd0a392ec217beed87dc5c Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 27 Apr 2004 17:16:33 +0000 Subject: [PATCH] Me being fussy :-) --- blocks/calendar_upcoming/block_calendar_upcoming.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/calendar_upcoming/block_calendar_upcoming.php b/blocks/calendar_upcoming/block_calendar_upcoming.php index 0c7e9e9bf9..b68d8f2d16 100644 --- a/blocks/calendar_upcoming/block_calendar_upcoming.php +++ b/blocks/calendar_upcoming/block_calendar_upcoming.php @@ -40,8 +40,8 @@ class CourseBlock_calendar_upcoming extends MoodleBlock { // There is a filter in action that shows events from a course other than the current // Obviously we have to cut it out $SESSION->cal_show_course = true; - } - else if($courseshown !== false && is_array($SESSION->cal_show_course) && !in_array($courseshown, $SESSION->cal_show_course)) { + + } else if($courseshown !== false && is_array($SESSION->cal_show_course) && !in_array($courseshown, $SESSION->cal_show_course)) { // Same as above, only there are many courses being shown. Unfortunately, not this one. $SESSION->cal_show_course = true; } -- 2.39.5