summaryrefslogtreecommitdiff
path: root/app/Http/Controllers/AncestorsChartController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers/AncestorsChartController.php')
-rw-r--r--app/Http/Controllers/AncestorsChartController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/AncestorsChartController.php b/app/Http/Controllers/AncestorsChartController.php
index 9f2e0c291f..4b66c8b08d 100644
--- a/app/Http/Controllers/AncestorsChartController.php
+++ b/app/Http/Controllers/AncestorsChartController.php
@@ -198,7 +198,7 @@ class AncestorsChartController extends AbstractChartController
echo ' <span class="person_box">', I18N::number($sosa * 2), '</span> ', I18N::translate('and');
echo ' <span class="person_boxF">', I18N::number($sosa * 2 + 1), '</span>';
if ($family->canShow()) {
- foreach ($family->getFacts(WT_EVENTS_MARR) as $fact) {
+ foreach ($family->facts(WT_EVENTS_MARR) as $fact) {
echo ' <a href="', e($family->url()), '" class="details1">', $fact->summary(), '</a>';
}
}