Fix Instagram import. Closes #5411

This commit is contained in:
Daniel Supernault 2025-01-03 21:41:55 -07:00
parent 99b15b73f6
commit fd434aec74
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -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) {