Skip to content

Commit

Permalink
Get app regardless of if it's enhanced (might be a search provider)
Browse files Browse the repository at this point in the history
  • Loading branch information
KodeStar committed Mar 17, 2022
1 parent 41c2983 commit 18001fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/ItemController.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,10 @@ public function appload(Request $request)
$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';
// }
}
Expand Down

0 comments on commit 18001fb

Please sign in to comment.