diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-04-01 22:03:59 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-04-01 22:03:59 +0200 |
commit | 908057301c023a7d5efcd4aed0e8b8d4c793f15b (patch) | |
tree | f7e8c740c31d7b03bfbfd750892d0806f9c0ed04 | |
parent | 825077073bd173f43178e00da2d6f76c4c26b8a3 (diff) | |
download | forums-908057301c023a7d5efcd4aed0e8b8d4c793f15b.tar forums-908057301c023a7d5efcd4aed0e8b8d4c793f15b.tar.gz forums-908057301c023a7d5efcd4aed0e8b8d4c793f15b.tar.bz2 forums-908057301c023a7d5efcd4aed0e8b8d4c793f15b.tar.xz forums-908057301c023a7d5efcd4aed0e8b8d4c793f15b.zip |
[ticket/7707] Add comma to last entry of arrays
PHPBB3-7707
-rw-r--r-- | phpBB/includes/acp/auth.php | 4 | ||||
-rw-r--r-- | phpBB/memberlist.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php index 06f83b2775..5404efded3 100644 --- a/phpBB/includes/acp/auth.php +++ b/phpBB/includes/acp/auth.php @@ -650,8 +650,8 @@ class auth_admin extends \phpbb\auth\auth $template->assign_block_vars('role_mask.users', array( 'USER_ID' => $row['user_id'], 'USERNAME' => get_username_string('username', $row['user_id'], $row['username']), - 'U_PROFILE' => get_username_string('profile', $row['user_id'], $row['username'])) - ); + 'U_PROFILE' => get_username_string('profile', $row['user_id'], $row['username']), + )); } $db->sql_freeresult($result); } diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 681cc0df36..1669deaec6 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -1569,8 +1569,8 @@ switch ($mode) 'S_CUSTOM_PROFILE' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false, 'S_GROUP_LEADER' => $is_leader, - 'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $row['username'])) - ); + 'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $row['username']), + )); if (isset($cp_row['row']) && sizeof($cp_row['row'])) { |