diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-01-25 20:39:06 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-25 20:39:06 +0000 |
| commit | 2b5b8e643136f9b3c58a139dc23d245312588e1a (patch) | |
| tree | f374b6983553350b4d3fe2def9d7a5db5ae23ff3 /library | |
| parent | db7b2be3fb6ce3e96ff0d25ab2cfeb88f6dc2fee (diff) | |
| download | webtrees-2b5b8e643136f9b3c58a139dc23d245312588e1a.tar.gz webtrees-2b5b8e643136f9b3c58a139dc23d245312588e1a.tar.bz2 webtrees-2b5b8e643136f9b3c58a139dc23d245312588e1a.zip | |
Show private names option ignored in statistics block
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 e6124b65d6..22476b72fe 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->canShow()) { + if ($record->canShowName()) { $result = $record->format_list('span', false, $record->getFullName()); } else { $result = WT_I18N::translate('This information is private and cannot be shown.'); |
