mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
Fix a problem with Admin Profile (text) Fields and registration
git-svn-id: file:///svn/phpbb/trunk@5154 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1451204e3f
commit
271e9caa8c
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user