From e9b76e709ef74bc1a8d35a318ebe606caef79891 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 25 Jan 2015 23:45:12 +0000 Subject: Revert "Show private names option ignored in statistics block" This reverts commit 2b5b8e643136f9b3c58a139dc23d245312588e1a. --- library/WT/Stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library') 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.'); -- cgit v1.3