diff --git a/src/QUI/Menu/EventHandler.php b/src/QUI/Menu/EventHandler.php index 939946f7bcdd2047d8146776b3325a3a5c4d2989..7312604803d807bed6427f536f8efe86ad142691 100644 --- a/src/QUI/Menu/EventHandler.php +++ b/src/QUI/Menu/EventHandler.php @@ -91,15 +91,15 @@ public static function onQuiqqerMenuIndependentClear($menuId): void */ public static function onQuiqqerTemplateBodyEnd(Collector $Collector, QUI\Template $Template): void { - $Projekt = $Template->getAttribute('Project'); - $menuId = intval($Projekt->getConfig('floatingMenu.settings.menuId')); + $Project = $Template->getAttribute('Project'); + $menuId = intval($Project->getConfig('floatingMenu.settings.menuId')); if (!$menuId) { return; } - $showLandSwitch = $Projekt->getConfig('floatingMenu.settings.showLangSwitch'); - $toggleButton = $Projekt->getConfig('floatingMenu.settings.toggleButton'); + $showLandSwitch = $Project->getConfig('floatingMenu.settings.showLangSwitch'); + $toggleButton = $Project->getConfig('floatingMenu.settings.toggleButton'); // todo - showToggleButton works not correctly in FloatedNav $toggleButton = 'mobile';