summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Libraries/Background.php4
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;
}