fixing a warning

This commit is contained in:
toyomoyo
2007-10-16 04:33:23 +00:00
parent 0e319f934d
commit 56ce5f0965
@@ -72,7 +72,7 @@ class block_calendar_month extends block_base {
}
// MDL-9059, unset this so that it doesn't stay in session
if ($courseset) {
if (!empty($courseset)) {
unset($SESSION->cal_courses_shown[$COURSE->id]);
}