diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2005-05-27 21:16:24 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2005-05-27 21:16:24 +0000 |
commit | 271e9caa8c742c80c2301a91b45f8a35b0d3d024 (patch) | |
tree | 36a27568bc9c003b6e06f19b1c52dfc28fabf765 /phpBB/includes/functions_profile_fields.php | |
parent | 1451204e3f52229ac0918e7cd3a77b186c8e40e7 (diff) | |
download | forums-271e9caa8c742c80c2301a91b45f8a35b0d3d024.tar forums-271e9caa8c742c80c2301a91b45f8a35b0d3d024.tar.gz forums-271e9caa8c742c80c2301a91b45f8a35b0d3d024.tar.bz2 forums-271e9caa8c742c80c2301a91b45f8a35b0d3d024.tar.xz forums-271e9caa8c742c80c2301a91b45f8a35b0d3d024.zip |
Fix a problem with Admin Profile (text) Fields and registration
git-svn-id: file:///svn/phpbb/trunk@5154 89ea8834-ac86-4346-8a33-228a782c2dd0
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']); |