summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-10-25 09:44:18 +0100
committerGreg Roach <fisharebest@gmail.com>2014-10-25 09:44:18 +0100
commit139f3b7cfb5bbedaa3d1b07797df1ece08bd2835 (patch)
treeebe53dd06e0ce4981c74c25038b3375193b93c0a /library
parent0ab3be1e6d7a4a2231f8259ac4f3f758120f743c (diff)
downloadwebtrees-139f3b7cfb5bbedaa3d1b07797df1ece08bd2835.tar.gz
webtrees-139f3b7cfb5bbedaa3d1b07797df1ece08bd2835.tar.bz2
webtrees-139f3b7cfb5bbedaa3d1b07797df1ece08bd2835.zip
#282 - missing ancestors
Diffstat (limited to 'library')
-rw-r--r--library/WT/Controller/Pedigree.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Controller/Pedigree.php b/library/WT/Controller/Pedigree.php
index 2cc0be73b9..5837811e1d 100644
--- a/library/WT/Controller/Pedigree.php
+++ b/library/WT/Controller/Pedigree.php
@@ -101,7 +101,7 @@ class WT_Controller_Pedigree extends WT_Controller_Chart {
$this->pbwidth = $bwidth+6;
$this->pbheight = $bheight+5;
- $this->treeid = ancestry_array($this->rootid);
+ $this->treeid = ancestry_array($this->rootid, $PEDIGREE_GENERATIONS);
$this->treesize = pow(2, (int)($this->PEDIGREE_GENERATIONS))-1;
//-- ancestry_array puts everyone at $i+1