aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-09-07 17:52:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-09-07 17:52:53 +0000
commitd8042fab7b0c289b03771a1003f99b69f4f5267b (patch)
tree6bc92634f17472c5068f087406727f476473fe89 /phpBB/includes/functions_posting.php
parentdb2a73d2f07cd04e787c0b9ecc5533e4895a400b (diff)
downloadforums-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/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 8bfd9b72bb..671f6cceb2 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -83,7 +83,7 @@ function format_display(&$message, &$signature, $uid, $siguid, $html, $bbcode, $
global $auth, $forum_id, $config, $censors, $user, $bbcode, $phpbb_root_path;
// Second parse bbcode here
- $message = $bbcode->bbcode_second_pass($message, $uid);
+ $bbcode->bbcode_second_pass($message, $uid);
// If we allow users to disable display of emoticons we'll need an appropriate
// check and preg_replace here
@@ -102,7 +102,7 @@ function format_display(&$message, &$signature, $uid, $siguid, $html, $bbcode, $
{
$signature = trim($signature);
- $signature = $bbcode->bbcode_second_pass($signature, $siguid);
+ $bbcode->bbcode_second_pass($signature, $siguid);
$signature = (!$config['enable_smilies']) ? preg_replace('#<!\-\- s(.*?) \-\-><img src="\{SMILE_PATH\}\/.*? \/><!\-\- s\1 \-\->#', '\1', $signature) : str_replace('<img src="{SMILE_PATH}', '<img src="' . $phpbb_root_path . $config['smilies_path'], $signature);