1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[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_type' => $this->get_service_name(),
'field_length' => $field_data['field_length'],
'lang_options' => $field_data['lang_options']
'lang_options' => $field_data['lang_options'],
);
$options = array(
@ -180,8 +180,8 @@ class type_bool extends type_base
$this->template->assign_block_vars('bool.options', array(
'OPTION_ID' => $option_id,
'CHECKED' => ($value == $option_id) ? ' checked="checked"' : '',
'VALUE' => $option_value)
);
'VALUE' => $option_value,
));
}
}
}
@ -226,7 +226,7 @@ class type_bool extends type_base
public function get_language_options_input($field_data)
{
$field_data['l_lang_name'] = $this->request->variable('l_lang_name', array(0 => ''), true);
$field_data['l_lang_explain'] = $this->request->variable('l_lang_explain', array(0 => ''), true);
$field_data['l_lang_explain'] = $this->request->variable('l_lang_explain', array(0 => ''), true);
$field_data['l_lang_default_value'] = $this->request->variable('l_lang_default_value', array(0 => ''), true);
/**

View File

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