mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-01 20:49:53 +09:00
fix: Add check to appModel so websites can be added again
This commit is contained in:
@@ -114,7 +114,9 @@ class Application extends Model
|
||||
if ($app === null) {
|
||||
// Try in db for Private App
|
||||
$appModel = self::where('appid', $appid)->first();
|
||||
$app = json_decode($appModel->toJson());
|
||||
if($appModel) {
|
||||
$app = json_decode($appModel->toJson());
|
||||
}
|
||||
}
|
||||
|
||||
if ($app === null) {
|
||||
|
||||
Reference in New Issue
Block a user