diff --git a/src/system/ThemeModule/Engine/Engine.php b/src/system/ThemeModule/Engine/Engine.php index 1ad27aa22d..56a5bc04b9 100644 --- a/src/system/ThemeModule/Engine/Engine.php +++ b/src/system/ThemeModule/Engine/Engine.php @@ -171,7 +171,7 @@ public function wrapBlockContentInTheme($content, $title, $blockType, $bid, $pos $themeConfig = $this->getTheme()->getConfig(); $wrap = isset($themeConfig['blockWrapping']) ? $themeConfig['blockWrapping'] : true; - return $wrap ? $this->getTheme()->wrapBlockContentWithUniqueDiv($content, $positionName, $blockType, $bid): $content; + return $wrap ? $this->getTheme()->wrapBlockContentWithUniqueDiv($content, $positionName, $blockType, $bid) : $content; } /**