diff options
Diffstat (limited to 'app/Http/Controllers/BranchesController.php')
| -rw-r--r-- | app/Http/Controllers/BranchesController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/BranchesController.php b/app/Http/Controllers/BranchesController.php index 6ec1ce60b8..74041dbcdd 100644 --- a/app/Http/Controllers/BranchesController.php +++ b/app/Http/Controllers/BranchesController.php @@ -274,7 +274,7 @@ class BranchesController extends AbstractBaseController // If this is not a birth pedigree (e.g. an adoption), highlight it if ($parents) { $pedi = ''; - foreach ($individual->getFacts('FAMC') as $fact) { + foreach ($individual->facts('FAMC') as $fact) { if ($fact->target() === $parents) { $pedi = $fact->attribute('PEDI'); break; |
