summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-25 23:45:12 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-25 23:45:12 +0000
commite9b76e709ef74bc1a8d35a318ebe606caef79891 (patch)
treea138e31ab57698c18c755cd5f335dd115efe907f /library
parentafbfaaf2f9a4f34c8f6661a35fc3d338b4108396 (diff)
downloadwebtrees-e9b76e709ef74bc1a8d35a318ebe606caef79891.tar.gz
webtrees-e9b76e709ef74bc1a8d35a318ebe606caef79891.tar.bz2
webtrees-e9b76e709ef74bc1a8d35a318ebe606caef79891.zip
Revert "Show private names option ignored in statistics block"
This reverts commit 2b5b8e643136f9b3c58a139dc23d245312588e1a.
Diffstat (limited to 'library')
-rw-r--r--library/WT/Stats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Stats.php b/library/WT/Stats.php
index 22476b72fe..e6124b65d6 100644
--- a/library/WT/Stats.php
+++ b/library/WT/Stats.php
@@ -1264,7 +1264,7 @@ class WT_Stats {
switch ($type) {
default:
case 'full':
- if ($record->canShowName()) {
+ if ($record->canShow()) {
$result = $record->format_list('span', false, $record->getFullName());
} else {
$result = WT_I18N::translate('This information is private and cannot be shown.');