From 67113ee028a0baa82c6b031e0e3dc1e9fa09608c Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Thu, 16 Jun 2005 21:22:28 +0000 Subject: [PATCH] Fixed a problem with editing bbcode in textfields git-svn-id: file:///svn/phpbb/trunk@5162 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_profile_fields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index e29cb5305b..af4b5de46f 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -564,7 +564,7 @@ class custom_profile 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']); + $message_parser->decode_message($user->profile_fields[str_replace('pf_', '', $profile_row['field_ident']) . '_bbcode_uid']); $value = $message_parser->message; }