diff options
| author | horus | 2020-04-04 19:31:05 +0200 |
|---|---|---|
| committer | horus | 2020-04-04 19:31:05 +0200 |
| commit | 1ed4838d367ad1841d09b3c1bdf743aa4b278f46 (patch) | |
| tree | 8bcfc5db79b1ef44d9c878a309e4628e011bb20f | |
| parent | 13f13fde6818d12334dd58d6dcdae256b89ebd67 (diff) | |
| download | senpai-1ed4838d367ad1841d09b3c1bdf743aa4b278f46.tar.gz | |
Bugfix.
| -rw-r--r-- | app/Libraries/Background.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php index 7f5f709..ea99126 100644 --- a/app/Libraries/Background.php +++ b/app/Libraries/Background.php @@ -123,7 +123,6 @@ class Background { ); foreach($season->anime as $entry) { - if ( Anime::where('mal_id', $entry->getMalID())->exists() ) { /** * We already have this anime saved. @@ -140,7 +139,8 @@ class Background { sleep(10); $anime->fill( $entry->getMalID(), $is_airing=true ); - if ( "" == $anime->mal_url ) { + if ( "" == $anime->url ) { + echo "saveSeason: url is empty for: " . $entry->getMalId() . "\n"; continue; } |
