mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-10 06:00:45 +00:00
Fix Instagram import. Closes #5411
This commit is contained in:
parent
99b15b73f6
commit
fd434aec74
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue