소스 검색

Fix Instagram import. Closes #5411

Daniel Supernault 6 달 전
부모
커밋
fd434aec74
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/ImportService.php

+ 1 - 1
app/Services/ImportService.php

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