[ticket/11201] Add commas on last array entry

PHPBB3-11201
This commit is contained in:
Joas Schilling 2014-01-19 14:55:47 +01:00
parent 0ce98d7eac
commit ec8fd57f28

View file

@ -285,7 +285,7 @@ class profilefields
'PROFILE_' . strtoupper($ident) . '_NAME' => $this->user->lang($ident_ary['data']['lang_name']), 'PROFILE_' . strtoupper($ident) . '_NAME' => $this->user->lang($ident_ary['data']['lang_name']),
'PROFILE_' . strtoupper($ident) . '_EXPLAIN'=> $this->user->lang($ident_ary['data']['lang_explain']), 'PROFILE_' . strtoupper($ident) . '_EXPLAIN'=> $this->user->lang($ident_ary['data']['lang_explain']),
'S_PROFILE_' . strtoupper($ident) => true 'S_PROFILE_' . strtoupper($ident) => true,
); );
$tpl_fields['blockrow'][] = array( $tpl_fields['blockrow'][] = array(
@ -294,7 +294,7 @@ class profilefields
'PROFILE_FIELD_NAME' => $this->user->lang($ident_ary['data']['lang_name']), 'PROFILE_FIELD_NAME' => $this->user->lang($ident_ary['data']['lang_name']),
'PROFILE_FIELD_EXPLAIN' => $this->user->lang($ident_ary['data']['lang_explain']), 'PROFILE_FIELD_EXPLAIN' => $this->user->lang($ident_ary['data']['lang_explain']),
'S_PROFILE_' . strtoupper($ident) => true 'S_PROFILE_' . strtoupper($ident) => true,
); );
} }