diff options
Diffstat (limited to 'app/Individual.php')
| -rw-r--r-- | app/Individual.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Individual.php b/app/Individual.php index 2db05374e0..39a3281419 100644 --- a/app/Individual.php +++ b/app/Individual.php @@ -554,8 +554,8 @@ class Individual extends GedcomRecord public function getLifeSpan(): string { // Just the first part of the place name - $birth_place = strip_tags($this->getBirthPlace()->getShortName()); - $death_place = strip_tags($this->getDeathPlace()->getShortName()); + $birth_place = strip_tags($this->getBirthPlace()->shortName()); + $death_place = strip_tags($this->getDeathPlace()->shortName()); // Remove markup from dates $birth_date = strip_tags($this->getBirthDate()->display()); $death_date = strip_tags($this->getDeathDate()->display()); |
