mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
BBCode parser needs instantiating [#1241]
git-svn-id: file:///svn/phpbb/trunk@5720 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5d2bba8e70
commit
80e28a2db7
1 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,8 @@ function mcp_warn_post_view($id, $mode, $action)
|
||||||
// Second parse bbcode here
|
// Second parse bbcode here
|
||||||
if ($userrow['bbcode_bitfield'])
|
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']);
|
$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue