diff options
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r-- | phpBB/includes/functions_profile_fields.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index 12a4acd530..e29cb5305b 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -554,12 +554,14 @@ class custom_profile function generate_text($profile_row, $preview = false) { global $template; - global $user; + global $user, $phpEx, $phpbb_root_path; $value = $this->get_var('', $profile_row, $profile_row['lang_default_value'], $preview); 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[$profile_row['field_ident'] . '_bbcode_uid']); |