diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-01-25 23:45:12 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-25 23:45:12 +0000 |
| commit | e9b76e709ef74bc1a8d35a318ebe606caef79891 (patch) | |
| tree | a138e31ab57698c18c755cd5f335dd115efe907f /library | |
| parent | afbfaaf2f9a4f34c8f6661a35fc3d338b4108396 (diff) | |
| download | webtrees-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.php | 2 |
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.'); |
