summaryrefslogtreecommitdiff
path: root/famlist.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-12-23 21:15:42 +0000
committerGreg Roach <fisharebest@gmail.com>2016-12-23 21:15:42 +0000
commit13abd6f3a37322f885d85df150e105d27ad81f8d (patch)
treef023015b458c95273afe5876246adf141de169ca /famlist.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'famlist.php')
-rw-r--r--famlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/famlist.php b/famlist.php
index 62be3dc650..25dc008e92 100644
--- a/famlist.php
+++ b/famlist.php
@@ -133,7 +133,7 @@ $controller
echo '<h2 class="center">', I18N::translate('Families'), '</h2>';
// Print a selection list of initial letters
-$list = array();
+$list = [];
foreach (QueryName::surnameAlpha($WT_TREE, $show_marnm === 'yes', true) as $letter => $count) {
switch ($letter) {
case '@':
@@ -223,7 +223,7 @@ if ($show === 'indi' || $show === 'surn') {
if ($surname || $show_all === 'yes') {
// Don't show the list until we have some filter criteria
$show = ($falpha || $show_all_firstnames === 'yes') ? 'indi' : 'none';
- $list = array();
+ $list = [];
foreach ($givn_initials as $givn_initial => $count) {
switch ($givn_initial) {
case '@':