|
@@ -42,8 +42,7 @@ |
|
|
block discarded – undo |
|
42
|
42
|
]); |
|
43
|
43
|
|
|
44
|
44
|
foreach ($modules as $module) { |
|
45
|
|
- $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath |
|
46
|
|
- ($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true); |
|
|
45
|
+ $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true); |
|
47
|
46
|
|
|
48
|
47
|
foreach ($navigation["items"] as $item) { |
|
49
|
48
|
if ($this->get("ribs_admin.acess_rights")->testRight($item["right"]) && (!isset($item["position"]) || $item["position"] === "left")) { |
Please login to merge, or discard this patch.