From 6bc729ac1501dd9f2780f910a7b987e6538dcaf2 Mon Sep 17 00:00:00 2001 From: Ɓukasz Date: Fri, 15 Jan 2016 19:37:03 +0100 Subject: Don't display on the date of death next to birth --- app/Functions/FunctionsPrint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Functions') diff --git a/app/Functions/FunctionsPrint.php b/app/Functions/FunctionsPrint.php index 01503896c7..1c8fca0c5d 100644 --- a/app/Functions/FunctionsPrint.php +++ b/app/Functions/FunctionsPrint.php @@ -334,7 +334,7 @@ class FunctionsPrint { if ($fact === 'BIRT' && $record->getTree()->getPreference('SHOW_PARENTS_AGE')) { // age of parents at child birth $html .= self::formatParentsAges($record, $date); - } elseif ($fact !== 'CHAN' && $fact !== '_TODO') { + } elseif ($fact !== 'BIRT' && $fact !== 'CHAN' && $fact !== '_TODO') { // age at event $birth_date = $record->getBirthDate(); // Can't use getDeathDate(), as this also gives BURI/CREM events, which -- cgit v1.3