@@ -45,8 +45,7 @@ |
||
45 | 45 | ]); |
46 | 46 | |
47 | 47 | foreach ($modules as $module) { |
48 | - $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath |
|
49 | - ($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true); |
|
48 | + $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true); |
|
50 | 49 | |
51 | 50 | foreach ($navigation["items"] as $item) { |
52 | 51 | if ($access_rights->testRight($item["right"]) && (!isset($item["position"]) || $item["position"] === "left")) { |