summaryrefslogtreecommitdiff
path: root/app/Functions
diff options
context:
space:
mode:
authorŁukasz <lukas.the.best@poczta.fm>2016-01-15 19:37:03 +0100
committerŁukasz <lukas.the.best@poczta.fm>2016-01-15 19:37:03 +0100
commit6bc729ac1501dd9f2780f910a7b987e6538dcaf2 (patch)
treead18d1d2f997715556516d7cba92197483d26d5e /app/Functions
parentbeff06b73b5af2c72a2411734f5b293717817c9d (diff)
downloadwebtrees-6bc729ac1501dd9f2780f910a7b987e6538dcaf2.tar.gz
webtrees-6bc729ac1501dd9f2780f910a7b987e6538dcaf2.tar.bz2
webtrees-6bc729ac1501dd9f2780f910a7b987e6538dcaf2.zip
Don't display on the date of death next to birth
Diffstat (limited to 'app/Functions')
-rw-r--r--app/Functions/FunctionsPrint.php2
1 files changed, 1 insertions, 1 deletions
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