From 758c1741417d0ffa118addffa9f09a77a5e83fbd Mon Sep 17 00:00:00 2001 From: Kode Date: Sat, 2 Apr 2022 15:19:55 +0100 Subject: [PATCH] Only getApp if app found --- app/Jobs/ProcessApps.php | 4 +++- config/app.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Jobs/ProcessApps.php b/app/Jobs/ProcessApps.php index 3c37a105a..12163cd45 100644 --- a/app/Jobs/ProcessApps.php +++ b/app/Jobs/ProcessApps.php @@ -47,7 +47,9 @@ public function handle() foreach ($items as $item) { if (! file_exists(app_path('SupportedApps/'.Item::nameFromClass($item->class)))) { $app = Application::where('class', $item->class)->first(); - Application::getApp($app->appid); + if ($app) { + Application::getApp($app->appid); + } } } } diff --git a/config/app.php b/config/app.php index 2dff80276..0246c488d 100644 --- a/config/app.php +++ b/config/app.php @@ -14,7 +14,7 @@ */ 'name' => env('APP_NAME', 'Heimdall'), - 'version' => '2.4.9', + 'version' => '2.4.10', /* |--------------------------------------------------------------------------