From fd434aec746428702dec32be1a856f1e0aa2b608 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 3 Jan 2025 21:41:55 -0700 Subject: [PATCH] Fix Instagram import. Closes #5411 --- app/Services/ImportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php index 4f85dabbe..b0191ba7b 100644 --- a/app/Services/ImportService.php +++ b/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) {