diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-01-18 12:44:24 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-01-18 12:44:24 +0100 |
| commit | 1c884d07ebd4629611a66e606e369217ffddd7d8 (patch) | |
| tree | 6918bc27eabb3781c85620725192b55c9ed91975 /phpBB/phpbb | |
| parent | 876e5e5fbbf3049da2b96eacc7b13b29dd484642 (diff) | |
| download | forums-1c884d07ebd4629611a66e606e369217ffddd7d8.tar forums-1c884d07ebd4629611a66e606e369217ffddd7d8.tar.gz forums-1c884d07ebd4629611a66e606e369217ffddd7d8.tar.bz2 forums-1c884d07ebd4629611a66e606e369217ffddd7d8.tar.xz forums-1c884d07ebd4629611a66e606e369217ffddd7d8.zip | |
[ticket/11201] Add some commas at the last array entry
PHPBB3-11201
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/profilefields/type/type_bool.php | 8 | ||||
| -rw-r--r-- | phpBB/phpbb/profilefields/type/type_dropdown.php | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_bool.php b/phpBB/phpbb/profilefields/type/type_bool.php index f466b60099..a44e3ee770 100644 --- a/phpBB/phpbb/profilefields/type/type_bool.php +++ b/phpBB/phpbb/profilefields/type/type_bool.php @@ -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); /** diff --git a/phpBB/phpbb/profilefields/type/type_dropdown.php b/phpBB/phpbb/profilefields/type/type_dropdown.php index c9d0936816..3645ae773c 100644 --- a/phpBB/phpbb/profilefields/type/type_dropdown.php +++ b/phpBB/phpbb/profilefields/type/type_dropdown.php @@ -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, + )); } } |
