Skip to content

Commit

Permalink
Update ModuleEventlist.php
Browse files Browse the repository at this point in the history
  • Loading branch information
akroii authored Dec 21, 2023
1 parent 4c3b0a0 commit cd00484
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Resources/contao/modules/ModuleEventlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ public function generate()
->limit(1)->execute($cal);

$this->calConf[$cal]['calendar'] = $objBG->title;

$this->calConf[$cal]['background'] = $objBG->bg_color;
$this->calConf[$cal]['foreground'] = $objBG->fg_color;

if ($objBG->bg_color) {
list($cssColor, $cssOpacity) = deserialize($objBG->bg_color);

Expand Down

0 comments on commit cd00484

Please sign in to comment.