From fb0e0aedc2bed3ceff9584ab7230dbc79f2331ea Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sat, 30 Dec 2017 15:03:15 +0100 Subject: [PATCH] fix admin app detection --- ipf/admin/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipf/admin/app.php b/ipf/admin/app.php index b4e97cd..38d6a13 100644 --- a/ipf/admin/app.php +++ b/ipf/admin/app.php @@ -115,7 +115,7 @@ class IPF_Admin_App extends IPF_Application public function getComponentBySlugs($appSlug, $componentSlug) { - $app = $this->getProject()->getApplicationBySlug($appSlug); + $app = $this->getApplicationBySlug($appSlug); if (!$app) return null; foreach ($this->applicationComponents($app) as $component) { -- 2.49.0