From 1c884d07ebd4629611a66e606e369217ffddd7d8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 18 Jan 2014 12:44:24 +0100 Subject: [PATCH] [ticket/11201] Add some commas at the last array entry PHPBB3-11201 --- phpBB/phpbb/profilefields/type/type_bool.php | 8 ++++---- 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, + )); } }