aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-08-15 02:13:05 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-08-15 02:13:05 +0000
commit481f090a39a49b8baaf9c7f0626872eced1b63f4 (patch)
tree1ae43f41550d0521d1cd748b1091ebfc3f1f1c13 /phpBB/includes/functions_posting.php
parent75ca1c9764aa8d3b8c8c845516849d90754ee88e (diff)
downloadforums-481f090a39a49b8baaf9c7f0626872eced1b63f4.tar
forums-481f090a39a49b8baaf9c7f0626872eced1b63f4.tar.gz
forums-481f090a39a49b8baaf9c7f0626872eced1b63f4.tar.bz2
forums-481f090a39a49b8baaf9c7f0626872eced1b63f4.tar.xz
forums-481f090a39a49b8baaf9c7f0626872eced1b63f4.zip
chr(0x20 | 0x10) = "0"
git-svn-id: file:///svn/phpbb/trunk@6293 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index b40fdb369c..0cfac0667c 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -848,10 +848,10 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
$db->sql_freeresult($result);
// Instantiate BBCode class
- if (!isset($bbcode) && $bbcode_bitfield)
+ if (!isset($bbcode) && $bbcode_bitfield !== '')
{
include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx);
- $bbcode = new bbcode($bbcode_bitfield);
+ $bbcode = new bbcode(base64_encode($bbcode_bitfield));
}
foreach ($rowset as $i => $row)