From ce8d5abe32dd8fb19c60e9d00008b789de3c4526 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 12 Jan 2024 11:42:51 -0600 Subject: [PATCH] Increase max death year for artist --- lib/Artist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Artist.php b/lib/Artist.php index d70e78a1..4f045ca4 100644 --- a/lib/Artist.php +++ b/lib/Artist.php @@ -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()); }