summaryrefslogtreecommitdiff
path: root/modules/GEDFact_assistant/CENS_ctrl.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/GEDFact_assistant/CENS_ctrl.php')
-rw-r--r--modules/GEDFact_assistant/CENS_ctrl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/GEDFact_assistant/CENS_ctrl.php b/modules/GEDFact_assistant/CENS_ctrl.php
index 0712d09572..6ac4f0c555 100644
--- a/modules/GEDFact_assistant/CENS_ctrl.php
+++ b/modules/GEDFact_assistant/CENS_ctrl.php
@@ -45,7 +45,7 @@ global $SEARCH_SPIDER, $GOOGLEMAP_PH_CONTROLS;
if (!($controller->indi->isDead())) {
// If alive display age
$bdate=$controller->indi->getBirthDate();
- $age = GedcomDate::GetAgeGedcom($bdate);
+ $age = WT_Date::GetAgeGedcom($bdate);
if ($age!="")
$summary.= "<span class=\"label\">".i18n::translate('Age').":</span><span class=\"field\"> ".get_age_at_event($age, true)."</span>";
}