Sfoglia il codice sorgente

Fix Instagram import. Closes #5411

Daniel Supernault 6 mesi fa
parent
commit
fd434aec74
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {