diff options
| -rw-r--r-- | app/Libraries/Background.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php index ea99126..30fa1f9 100644 --- a/app/Libraries/Background.php +++ b/app/Libraries/Background.php @@ -25,7 +25,7 @@ class Background { } $stats = $anime->getStats()->get()->first(); - if ( is_null($stats->score) ) { + if ( is_null($stats) || is_null($stats->score) ) { return; } |
