show all calendars
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 28 Oct 2014 17:19:16 +0000 (13:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 28 Oct 2014 17:19:16 +0000 (13:19 -0400)
Toolkit/Schedule/DepartureCalendar.php

index 271ba22..401db56 100644 (file)
@@ -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;