Increase max death year for artist

This commit is contained in:
Alex Cabal 2024-01-12 11:42:51 -06:00
parent a3210031f4
commit ce8d5abe32

View file

@ -68,7 +68,7 @@ class Artist extends PropertiesBase{
$error->Add(new Exceptions\StringTooLongException('Artist Name'));
}
if($this->DeathYear !== null && ($this->DeathYear <= 0 || $this->DeathYear > intval(date('Y')))){
if($this->DeathYear !== null && ($this->DeathYear <= 0 || $this->DeathYear > intval(date('Y')) + 50)){
$error->Add(new Exceptions\InvalidDeathYearException());
}