Parcourir la source

book update fix

zz il y a 5 ans
Parent
commit
5e4941fdba
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Console/Commands/BookUpdate.php

+ 1 - 1
app/Console/Commands/BookUpdate.php

@@ -117,7 +117,7 @@ class BookUpdate extends Command
             $item1 = null;
             $item1 = null;
         }
         }
         Log::info('$remote_count is: ' . $remote_count . '====$local_count :' . $local_count . '----');
         Log::info('$remote_count is: ' . $remote_count . '====$local_count :' . $local_count . '----');
-        if ($remote_count == $local_count) return '';
+        if ($remote_count <= $local_count) return '';
         Log::info('$bid =: ' . $bid . '---is lack---');
         Log::info('$bid =: ' . $bid . '---is lack---');
         $start = false;
         $start = false;
         if (!$last_chapter) {
         if (!$last_chapter) {