From 18001fbdd09407eb15ec29eb34f8fbce7cb374e4 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Thu, 17 Mar 2022 12:56:51 +0000 Subject: [PATCH] Get app regardless of if it's enhanced (might be a search provider) --- app/Http/Controllers/ItemController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/ItemController.php b/app/Http/Controllers/ItemController.php index 8f8338d3..d46809c4 100644 --- a/app/Http/Controllers/ItemController.php +++ b/app/Http/Controllers/ItemController.php @@ -358,9 +358,10 @@ class ItemController extends Controller $app = Application::single($appid); $output = (array)$app; + $appdetails = Application::getApp($appid); + if((boolean)$app->enhanced === true) { // if(!isset($app->config)) { // class based config - $appdetails = Application::getApp($appid); $output['custom'] = className($appdetails->name).'.config'; // } }