diff options
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r-- | phpBB/includes/functions_profile_fields.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index aabf0a8236..94390b9f7f 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -569,12 +569,7 @@ class custom_profile if ($preview == false) { - include_once($phpbb_root_path . "includes/message_parser.$phpEx"); - include_once($phpbb_root_path . 'includes/functions_posting.'.$phpEx); - $message_parser = new parse_message(); - $message_parser->message = $value; - $message_parser->decode_message($user->profile_fields[str_replace('pf_', '', $profile_row['field_ident']) . '_bbcode_uid']); - $value = $message_parser->message; + decode_message($value, $user->profile_fields[str_replace('pf_', '', $profile_row['field_ident']) . '_bbcode_uid']); } $field_length = explode('|', $profile_row['field_length']); |