diff options
Diffstat (limited to 'app/Controller/FamilyController.php')
| -rw-r--r-- | app/Controller/FamilyController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controller/FamilyController.php b/app/Controller/FamilyController.php index f5c4ea51ac..fc7c424b8f 100644 --- a/app/Controller/FamilyController.php +++ b/app/Controller/FamilyController.php @@ -47,6 +47,7 @@ class FamilyController extends GedcomRecordController { return $individual; } } + return parent::getSignificantIndividual(); } @@ -60,6 +61,7 @@ class FamilyController extends GedcomRecordController { if ($this->record) { return $this->record; } + return parent::getSignificantFamily(); } @@ -73,6 +75,7 @@ class FamilyController extends GedcomRecordController { foreach ($matches[1] as &$match) { $match = 'pids%5B%5D=' . $match; } + return implode('&', $matches[1]); } @@ -150,6 +153,7 @@ class FamilyController extends GedcomRecordController { public function getSignificantSurname() { if ($this->record && $this->record->getHusband()) { list($surn) = explode(',', $this->record->getHusband()->getSortname()); + return $surn; } else { return ''; |
