Get app regardless of if it's enhanced (might be a search provider)
This commit is contained in:
parent
41c2983312
commit
18001fbdd0
1 changed files with 2 additions and 1 deletions
|
@ -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';
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue