aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2013-07-20 16:44:24 +0100
committerBruno Ais <brunoaiss@gmail.com>2013-07-20 16:44:24 +0100
commit43b172c8aabbfbcc5180a3f3ad5daede45fcc041 (patch)
tree01017a863222e1d12ff53744e8cad4d3efcc6c6e /phpBB/includes/ucp
parentef7a7cac6dc3f313960a70462b084fbeaff9d4bd (diff)
downloadforums-43b172c8aabbfbcc5180a3f3ad5daede45fcc041.tar
forums-43b172c8aabbfbcc5180a3f3ad5daede45fcc041.tar.gz
forums-43b172c8aabbfbcc5180a3f3ad5daede45fcc041.tar.bz2
forums-43b172c8aabbfbcc5180a3f3ad5daede45fcc041.tar.xz
forums-43b172c8aabbfbcc5180a3f3ad5daede45fcc041.zip
[ticket/11655] wrong var names for the uid and for the bitfield
sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11655
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index 0a8a3d55ab..52a28e3552 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -150,7 +150,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
// End signature parsing, only if needed
if ($signature)
{
- $signature = generate_text_for_display($signature, $user_info['bbcode_uid'], $user_info['bbcode_bitfield'], ($user_info['bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES, true);
+ $signature = generate_text_for_display($signature, $user_info['user_sig_bbcode_uid'], $user_info['user_sig_bbcode_bitfield'], ($user_info['user_sig_bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES, true);
}
$url = append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm');