From 7337c6216bb2d13526b7e24450262ddcd498d646 Mon Sep 17 00:00:00 2001
From: Michael Danielczok <michael@pcsg.de>
Date: Mon, 29 Jul 2024 09:37:02 +0000
Subject: [PATCH] fix: pass correct menu id to the MegaMenu

---
 index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php
index a49e56f..722a879 100644
--- a/index.php
+++ b/index.php
@@ -37,7 +37,7 @@
 $independentMenuId = $Project->getConfig('templateCologne.settings.menuId');
 
 if ($enableIndependentMenu && $independentMenuId) {
-    $menuParams['menuId'] = $enableIndependentMenu;
+    $menuParams['menuId'] = $independentMenuId;
     $menuParams['showFirstLevelIcons'] = $Project->getConfig('templateCologne.settings.showFirstLevelIcons');
     $menuParams['showStart'] = false;
 }
-- 
GitLab