diff options
| -rw-r--r-- | app/Controller/BranchesController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/BranchesController.php b/app/Controller/BranchesController.php index b04db7b3c9..c20a6d1122 100644 --- a/app/Controller/BranchesController.php +++ b/app/Controller/BranchesController.php @@ -175,6 +175,8 @@ class BranchesController extends PageController { * @return string */ private function getDescendantsHtml(Individual $individual, Family $parents = null) { + global $WT_TREE; + // A person has many names. Select the one that matches the searched surname $person_name = ''; foreach ($individual->getAllNames() as $name) { |
