diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-09-07 17:52:53 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-09-07 17:52:53 +0000 |
| commit | d8042fab7b0c289b03771a1003f99b69f4f5267b (patch) | |
| tree | 6bc92634f17472c5068f087406727f476473fe89 /phpBB/posting.php | |
| parent | db2a73d2f07cd04e787c0b9ecc5533e4895a400b (diff) | |
| download | forums-d8042fab7b0c289b03771a1003f99b69f4f5267b.tar forums-d8042fab7b0c289b03771a1003f99b69f4f5267b.tar.gz forums-d8042fab7b0c289b03771a1003f99b69f4f5267b.tar.bz2 forums-d8042fab7b0c289b03771a1003f99b69f4f5267b.tar.xz forums-d8042fab7b0c289b03771a1003f99b69f4f5267b.zip | |
fix preview of postings with embedded bbcode
git-svn-id: file:///svn/phpbb/trunk@4483 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index dc92ad4a85..020622013e 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -483,7 +483,6 @@ if ($submit || $preview || $refresh) $current_time = time(); - // If replying/quoting and last post id has changed // give user option to continue submit or return to post // notify and show user the post made between his request and the final submit @@ -769,7 +768,7 @@ if (!sizeof($error) && $preview) $preview_message = $message_parser->message; format_display($preview_message, $preview_signature, $message_parser->bbcode_uid, $preview_signature_uid, $enable_html, $enable_bbcode, $enable_urls, $enable_smilies, $enable_sig); - + // Poll Preview if (($mode == 'post' || ($mode == 'edit' && $post_id == $topic_first_post_id && empty($poll_last_vote))) && ($auth->acl_get('f_poll', $forum_id) || $auth->acl_get('m_edit', $forum_id))) { @@ -1468,7 +1467,7 @@ function topic_review($topic_id, $forum_id, $is_inline_review = false) if ($row['bbcode_bitfield']) { - $bbcode->bbcode_second_pass(&$message, $row['bbcode_uid'], $row['bbcode_bitfield']); + $bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']); } if (count($censors['match'])) |
