From 7ead47755969818e4f3f29e605c1cb599a9d8891 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 28 Oct 2014 13:19:16 -0400 Subject: [PATCH] show all calendars --- Toolkit/Schedule/DepartureCalendar.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Toolkit/Schedule/DepartureCalendar.php b/Toolkit/Schedule/DepartureCalendar.php index 271ba22..401db56 100644 --- a/Toolkit/Schedule/DepartureCalendar.php +++ b/Toolkit/Schedule/DepartureCalendar.php @@ -185,9 +185,7 @@ class Toolkit_Schedule_DepartureCalendar $startingMonth = $this->config->months->start; $endingMonth = $this->config->months->end; for ($i = $startingMonth; $i <= $endingMonth; ++$i) { - if (in_array($i, $cals->months)) { - $page->calendarsHtml .= $cals->buildCalendar($i, $year, $selected); - } + $page->calendarsHtml .= $cals->buildCalendar($i, $year, $selected); } $tpl = new HTML_Template_Flexy($this->flexyOptions); $page->style = $style; -- 2.17.1