summaryrefslogtreecommitdiff
path: root/app/Module/PlacesModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/PlacesModule.php')
-rw-r--r--app/Module/PlacesModule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/PlacesModule.php b/app/Module/PlacesModule.php
index b5e47cecbb..d7ae6458b0 100644
--- a/app/Module/PlacesModule.php
+++ b/app/Module/PlacesModule.php
@@ -139,9 +139,9 @@ class PlacesModule extends AbstractModule implements ModuleTabInterface
*/
private function getPersonalFacts(Individual $individual): array
{
- $facts = $individual->getFacts();
+ $facts = $individual->facts();
foreach ($individual->getSpouseFamilies() as $family) {
- $facts = array_merge($facts, $family->getFacts());
+ $facts = array_merge($facts, $family->facts());
// Add birth of children from this family to the facts array
foreach ($family->getChildren() as $child) {
$childsBirth = $child->getFirstFact('BIRT');