Skip to content

Commit

Permalink
Fix für Issues 22
Browse files Browse the repository at this point in the history
  • Loading branch information
kmielke authored Jun 25, 2020
1 parent 12a0571 commit 04825b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Resources/contao/modules/ModuleEventMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,14 @@ protected function compileYearlyMenu()
{
$arrData = array();

if ($this->customTpl && TL_MODE == 'FE') {
$strTemplate = $this->customTpl;
} else {
$strTemplate = 'mod_eventmenu';
}

/** @var \FrontendTemplate|object $objTemplate */
$objTemplate = new \FrontendTemplate('mod_eventmenu');
$objTemplate = new \FrontendTemplate($strTemplate);

$this->Template = $objTemplate;
$arrAllEvents = $this->getAllEventsExt($this->cal_calendar, 0, 2145913200, array($this->cal_holiday));
Expand Down

0 comments on commit 04825b2

Please sign in to comment.