mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/7707] Add comma to last entry of arrays
PHPBB3-7707
This commit is contained in:
parent
825077073b
commit
908057301c
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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']))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue