diff options
| -rw-r--r-- | library/WT/Stats.php | 7 | ||||
| -rw-r--r-- | modules/top10_surnames/module.php | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/library/WT/Stats.php b/library/WT/Stats.php index dda586cf9b..45fa58a7a0 100644 --- a/library/WT/Stats.php +++ b/library/WT/Stats.php @@ -1,8 +1,8 @@ <?php -// GEDCOM Statistics Class +// Family tree Statistics Class // // This class provides a quick & easy method for accessing statistics -// about the GEDCOM. +// about the family tree. // // webtrees: Web based Family History software // Copyright (C) 2011 webtrees development team. @@ -3329,8 +3329,7 @@ class WT_Stats { foreach (array_keys($surname_list) as $surname) { $surnames=array_merge($surnames, get_indilist_surns($surname, '', false, false, WT_GED_ID)); } - - return format_surname_list($surnames, ($type=='list' ? 1 : 2), $show_tot); + return format_surname_list($surnames, ($type=='list' ? 1 : 2), $show_tot, 'indilist'); } function getCommonSurname() { diff --git a/modules/top10_surnames/module.php b/modules/top10_surnames/module.php index fc64788408..12e554dec1 100644 --- a/modules/top10_surnames/module.php +++ b/modules/top10_surnames/module.php @@ -96,11 +96,11 @@ class top10_surnames_WT_Module extends WT_Module implements WT_Module_Block { break; case 'list': uasort($all_surnames,array('top10_surnames_WT_Module', 'top_surname_sort')); - $content=format_surname_list($all_surnames, '1', true); + $content=format_surname_list($all_surnames, '1', true, 'indilist'); break; case 'array': uasort($all_surnames,array('top10_surnames_WT_Module', 'top_surname_sort')); - $content=format_surname_list($all_surnames, '2', true); + $content=format_surname_list($all_surnames, '2', true, 'indilist'); break; case 'table': default: |
