diff options
| author | JustCarmen <carmen@justcarmen.nl> | 2015-03-08 21:59:02 +0100 |
|---|---|---|
| committer | JustCarmen <carmen@justcarmen.nl> | 2015-03-08 21:59:02 +0100 |
| commit | 935541fa23765ec9a4129029662a5bd4efb12b5a (patch) | |
| tree | f155197f1948ea2e823687b80df6725f13095091 | |
| parent | fc430f0bc9b55e62146c8dd45c18fa9068a25f4f (diff) | |
| download | webtrees-935541fa23765ec9a4129029662a5bd4efb12b5a.tar.gz webtrees-935541fa23765ec9a4129029662a5bd4efb12b5a.tar.bz2 webtrees-935541fa23765ec9a4129029662a5bd4efb12b5a.zip | |
Missing global
| -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) { |
