summaryrefslogtreecommitdiff
path: root/library/WT/Controller/Pedigree.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Controller/Pedigree.php')
-rw-r--r--library/WT/Controller/Pedigree.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/WT/Controller/Pedigree.php b/library/WT/Controller/Pedigree.php
index 65bb3174f0..5133aea959 100644
--- a/library/WT/Controller/Pedigree.php
+++ b/library/WT/Controller/Pedigree.php
@@ -2,7 +2,7 @@
// Controller for the pedigree chart
//
// webtrees: Web based Family History software
-// Copyright (C) 2012 webtrees development team.
+// Copyright (C) 2013 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
@@ -85,7 +85,7 @@ class WT_Controller_Pedigree extends WT_Controller_Chart {
$show_full = $this->show_full;
$talloffset = $this->talloffset;
- if ($this->root && $this->root->canDisplayName()) {
+ if ($this->root && $this->root->canShowName()) {
$this->setPageTitle(
/* I18N: %s is an individual’s name */
WT_I18N::translate('Pedigree tree of %s', $this->root->getFullName())