aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_warn.php
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2013-07-20 16:35:28 +0100
committerBruno Ais <brunoaiss@gmail.com>2013-07-20 16:35:28 +0100
commit67ba959d9b34ff727b77206f4c706b1fbe024cb2 (patch)
tree9b49aa759f27b1f0298fb2c6dd6dd557548d9ba0 /phpBB/includes/mcp/mcp_warn.php
parent16b411616575cdd4023fb42bb77b56e43db735e0 (diff)
downloadforums-67ba959d9b34ff727b77206f4c706b1fbe024cb2.tar
forums-67ba959d9b34ff727b77206f4c706b1fbe024cb2.tar.gz
forums-67ba959d9b34ff727b77206f4c706b1fbe024cb2.tar.bz2
forums-67ba959d9b34ff727b77206f4c706b1fbe024cb2.tar.xz
forums-67ba959d9b34ff727b77206f4c706b1fbe024cb2.zip
[ticket/11654] first parameter fail
sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11654
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
-rw-r--r--phpBB/includes/mcp/mcp_warn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php
index d0fcd8a77d..65cf641418 100644
--- a/phpBB/includes/mcp/mcp_warn.php
+++ b/phpBB/includes/mcp/mcp_warn.php
@@ -289,7 +289,7 @@ class mcp_warn
// We want to make the message available here as a reminder
// Parse the message and subject
- $message = generate_text_for_display($message, $user_row['bbcode_uid'], $user_row['bbcode_bitfield'], ($user_row['bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES, true);
+ $message = generate_text_for_display($user_row['post_text'], $user_row['bbcode_uid'], $user_row['bbcode_bitfield'], ($user_row['bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES, true);
// Generate the appropriate user information for the user we are looking at
if (!function_exists('phpbb_get_user_avatar'))