diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-03-25 16:05:03 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-03-25 16:05:03 +0000 |
commit | 80e28a2db7d7167f24d938390d4907ed0081a65c (patch) | |
tree | a49ab782ffec9ceef4bd238ffd8298e3497f96d4 | |
parent | 5d2bba8e7050eda4c32be610982f80a9fec2e6c3 (diff) | |
download | forums-80e28a2db7d7167f24d938390d4907ed0081a65c.tar forums-80e28a2db7d7167f24d938390d4907ed0081a65c.tar.gz forums-80e28a2db7d7167f24d938390d4907ed0081a65c.tar.bz2 forums-80e28a2db7d7167f24d938390d4907ed0081a65c.tar.xz forums-80e28a2db7d7167f24d938390d4907ed0081a65c.zip |
BBCode parser needs instantiating [#1241]
git-svn-id: file:///svn/phpbb/trunk@5720 89ea8834-ac86-4346-8a33-228a782c2dd0
-rwxr-xr-x | phpBB/includes/mcp/mcp_warn.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php index 7d982a338b..06340d935c 100755 --- a/phpBB/includes/mcp/mcp_warn.php +++ b/phpBB/includes/mcp/mcp_warn.php @@ -269,6 +269,8 @@ function mcp_warn_post_view($id, $mode, $action) // Second parse bbcode here if ($userrow['bbcode_bitfield']) { + include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); + $bbcode = new bbcode($post_info['bbcode_bitfield']); $bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']); } |