diff --git a/app/Individual.php b/app/Individual.php index 6960acf51a1..3f3c5e6851e 100644 --- a/app/Individual.php +++ b/app/Individual.php @@ -478,6 +478,10 @@ public function lifespan(): string $birth_year = $this->getBirthDate()->minimumDate()->format('%Y'); $death_year = $this->getDeathDate()->maximumDate()->format('%Y'); + if ($birth_year === '') { + $birth_year = I18N::translate('…'); + } + if ($death_year === '' && $this->isDead()) { $death_year = I18N::translate('…'); }