From: Steve Sutton Date: Tue, 28 Oct 2014 17:19:16 +0000 (-0400) Subject: show all calendars X-Git-Tag: v1.0.6^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7ead47755969818e4f3f29e605c1cb599a9d8891;p=web%2FSooLocks.git show all calendars --- 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;