summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustCarmen <carmen@justcarmen.nl>2015-03-08 21:59:02 +0100
committerJustCarmen <carmen@justcarmen.nl>2015-03-08 21:59:02 +0100
commit935541fa23765ec9a4129029662a5bd4efb12b5a (patch)
treef155197f1948ea2e823687b80df6725f13095091
parentfc430f0bc9b55e62146c8dd45c18fa9068a25f4f (diff)
downloadwebtrees-935541fa23765ec9a4129029662a5bd4efb12b5a.tar.gz
webtrees-935541fa23765ec9a4129029662a5bd4efb12b5a.tar.bz2
webtrees-935541fa23765ec9a4129029662a5bd4efb12b5a.zip
Missing global
-rw-r--r--app/Controller/BranchesController.php2
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) {