Explorar o código

Fix Instagram import. Closes #5411

Daniel Supernault hai 6 meses
pai
achega
fd434aec74
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/ImportService.php

+ 1 - 1
app/Services/ImportService.php

@@ -14,7 +14,7 @@ class ImportService
         if($userId > 999999) {
             return;
         }
-        if($year < 9 || $year > 23) {
+        if($year < 9 || $year > (int) now()->addYear()->format('y')) {
             return;
         }
         if($month < 1 || $month > 12) {