mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Increase max death year for artist
This commit is contained in:
parent
a3210031f4
commit
ce8d5abe32
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue