Skip to content

Commit 758c174

Browse files
committed
Only getApp if app found
1 parent 9bc9c48 commit 758c174

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/Jobs/ProcessApps.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ public function handle()
4747
foreach ($items as $item) {
4848
if (! file_exists(app_path('SupportedApps/'.Item::nameFromClass($item->class)))) {
4949
$app = Application::where('class', $item->class)->first();
50-
Application::getApp($app->appid);
50+
if ($app) {
51+
Application::getApp($app->appid);
52+
}
5153
}
5254
}
5355
}

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515

1616
'name' => env('APP_NAME', 'Heimdall'),
17-
'version' => '2.4.9',
17+
'version' => '2.4.10',
1818

1919
/*
2020
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)