Passed
Push — master ( c3fe27...095dd5 )
by Anthony
02:56
created
Controller/NavigationBuilderController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.