@@ -42,8 +42,7 @@ |
||
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")) { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | ], |
21 | 21 | "mapped" => false |
22 | 22 | ]) |
23 | - ->add($options["autocomplete_name"]."_id", HiddenType::class, [ |
|
23 | + ->add($options["autocomplete_name"] . "_id", HiddenType::class, [ |
|
24 | 24 | "mapped" => false |
25 | 25 | ]); |
26 | 26 | } |