diff --git a/index.php b/index.php
index a49e56fec0764332379ba4b0900bd272e4185675..722a87936c0c95ad8badaaab4453caa4df6f6d72 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;
 }