aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2013-07-20 16:16:10 +0100
committerBruno Ais <brunoaiss@gmail.com>2013-07-20 16:16:10 +0100
commitb3ad2fc23f35fce2a888bb8f9c35ece247e0bc09 (patch)
treecbbe946366719f448f929550ef574748d05b4a31
parente7bf3abd1ac79fabab7da925e55bd884aee0663d (diff)
downloadforums-b3ad2fc23f35fce2a888bb8f9c35ece247e0bc09.tar
forums-b3ad2fc23f35fce2a888bb8f9c35ece247e0bc09.tar.gz
forums-b3ad2fc23f35fce2a888bb8f9c35ece247e0bc09.tar.bz2
forums-b3ad2fc23f35fce2a888bb8f9c35ece247e0bc09.tar.xz
forums-b3ad2fc23f35fce2a888bb8f9c35ece247e0bc09.zip
[ticket/11642] Fixed typo in the variable name.
sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11642
-rw-r--r--phpBB/includes/mcp/mcp_post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php
index 235b2a44be..e8768957e0 100644
--- a/phpBB/includes/mcp/mcp_post.php
+++ b/phpBB/includes/mcp/mcp_post.php
@@ -125,7 +125,7 @@ function mcp_post_details($id, $mode, $action)
$post_unread = (isset($topic_tracking_info[$post_info['topic_id']]) && $post_info['post_time'] > $topic_tracking_info[$post_info['topic_id']]) ? true : false;
// Process message, leave it uncensored
- $message = generate_text_for_display($post_info['message_text'], $post_info['bbcode_uid'], $post_info['bbcode_bitfield'], ($post_info['bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES, false);
+ $message = generate_text_for_display($post_info['post_text'], $post_info['bbcode_uid'], $post_info['bbcode_bitfield'], ($post_info['bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES, false);
if ($post_info['post_attachment'] && $auth->acl_get('u_download') && $auth->acl_get('f_download', $post_info['forum_id']))
{