summaryrefslogtreecommitdiff
path: root/resources/views/modules/relatives/family.phtml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-11-11 06:44:57 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-11-18 09:14:42 +0000
commitdc124885db241fd8521088b8689a0a0d42b43764 (patch)
tree6605336b23dd7412ba4d9d2152b3be46588c961c /resources/views/modules/relatives/family.phtml
parent3425616e7e9a1626a6133477162e0355f4782fa6 (diff)
downloadwebtrees-dc124885db241fd8521088b8689a0a0d42b43764.tar.gz
webtrees-dc124885db241fd8521088b8689a0a0d42b43764.tar.bz2
webtrees-dc124885db241fd8521088b8689a0a0d42b43764.zip
Rename Fact::getTarget() to target()
Diffstat (limited to 'resources/views/modules/relatives/family.phtml')
-rw-r--r--resources/views/modules/relatives/family.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/modules/relatives/family.phtml b/resources/views/modules/relatives/family.phtml
index 51727f8fc5..be95f5c66a 100644
--- a/resources/views/modules/relatives/family.phtml
+++ b/resources/views/modules/relatives/family.phtml
@@ -16,7 +16,7 @@
$found = false;
foreach ($family->getFacts('HUSB', false, $fam_access_level) as $fact) {
$found |= !$fact->isPendingDeletion();
- $person = $fact->getTarget();
+ $person = $fact->target();
if ($person instanceof Individual) {
$row_class = 'wt-gender-' . $person->getSex();
if ($fact->isPendingAddition()) {
@@ -52,7 +52,7 @@
$found = false;
foreach ($family->getFacts('WIFE', false, $fam_access_level) as $fact) {
- $person = $fact->getTarget();
+ $person = $fact->target();
if ($person instanceof Individual) {
$found |= !$fact->isPendingDeletion();
$row_class = 'wt-gender-' . $person->getSex();
@@ -133,7 +133,7 @@
///// CHIL /////
$child_number = 0;
foreach ($family->getFacts('CHIL', false, $fam_access_level) as $fact) {
- $person = $fact->getTarget();
+ $person = $fact->target();
if ($person instanceof Individual) {
$row_class = 'wt-gender-' . $person->getSex();
if ($fact->isPendingAddition()) {