[ticket/11201] Add some commas at the last array entry

PHPBB3-11201
This commit is contained in:
Joas Schilling 2014-01-18 12:44:24 +01:00
parent 876e5e5fbb
commit 1c884d07eb
2 changed files with 6 additions and 6 deletions

View file

@ -46,7 +46,7 @@ class type_bool extends type_base
'field_ident' => 'field_default_value', 'field_ident' => 'field_default_value',
'field_type' => $this->get_service_name(), 'field_type' => $this->get_service_name(),
'field_length' => $field_data['field_length'], 'field_length' => $field_data['field_length'],
'lang_options' => $field_data['lang_options'] 'lang_options' => $field_data['lang_options'],
); );
$options = array( $options = array(
@ -180,8 +180,8 @@ class type_bool extends type_base
$this->template->assign_block_vars('bool.options', array( $this->template->assign_block_vars('bool.options', array(
'OPTION_ID' => $option_id, 'OPTION_ID' => $option_id,
'CHECKED' => ($value == $option_id) ? ' checked="checked"' : '', 'CHECKED' => ($value == $option_id) ? ' checked="checked"' : '',
'VALUE' => $option_value) 'VALUE' => $option_value,
); ));
} }
} }
} }

View file

@ -179,8 +179,8 @@ class type_dropdown extends type_base
$this->template->assign_block_vars('dropdown.options', array( $this->template->assign_block_vars('dropdown.options', array(
'OPTION_ID' => $option_id, 'OPTION_ID' => $option_id,
'SELECTED' => ($value == $option_id) ? ' selected="selected"' : '', 'SELECTED' => ($value == $option_id) ? ' selected="selected"' : '',
'VALUE' => $option_value) 'VALUE' => $option_value,
); ));
} }
} }