Procházet zdrojové kódy

Fix Instagram import. Closes #5411

Daniel Supernault před 6 měsíci
rodič
revize
fd434aec74
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {