1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11201] Remove type related code from build_insert_sql_array()

PHPBB3-11201
This commit is contained in:
Joas Schilling
2014-01-14 13:38:24 +01:00
parent daf21fcb30
commit d601aaad26
10 changed files with 71 additions and 21 deletions

View File

@@ -372,7 +372,7 @@ class acp_profile
}
$profile_field = $phpbb_container->get('profilefields.type.' . $cp->profile_types[$field_type]);
$field_row = array_merge($profile_field->get_default_values(), array(
$field_row = array_merge($profile_field->get_default_option_values(), array(
'field_ident' => str_replace(' ', '_', utf8_clean_string(request_var('field_ident', '', true))),
'field_required' => 0,
'field_show_novalue'=> 0,