aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-01-14 13:38:24 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-01-14 13:38:24 +0100
commitd601aaad263e19b47865bca56da527f4fdf504e1 (patch)
tree6c942af03a1536ebd99a942c7f04f72b36cd28e3 /phpBB/includes/acp
parentdaf21fcb30c5c76c1d3f0b2a2bce8d8c1d8aed14 (diff)
downloadforums-d601aaad263e19b47865bca56da527f4fdf504e1.tar
forums-d601aaad263e19b47865bca56da527f4fdf504e1.tar.gz
forums-d601aaad263e19b47865bca56da527f4fdf504e1.tar.bz2
forums-d601aaad263e19b47865bca56da527f4fdf504e1.tar.xz
forums-d601aaad263e19b47865bca56da527f4fdf504e1.zip
[ticket/11201] Remove type related code from build_insert_sql_array()
PHPBB3-11201
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 44c2e0f11e..b3239af1ab 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -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,