From: Andrey Kutejko Date: Sat, 30 Dec 2017 14:03:15 +0000 (+0100) Subject: fix admin app detection X-Git-Tag: 0.6~29 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=fb0e0aedc2bed3ceff9584ab7230dbc79f2331ea;p=ipf.git fix admin app detection --- 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) {