aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authornatec <natec@users.sourceforge.net>2001-11-08 06:06:54 +0000
committernatec <natec@users.sourceforge.net>2001-11-08 06:06:54 +0000
commit8ef00898b3eeea09a46ed24a140983f203d90b02 (patch)
treef4bf758da4b63ee2b5466cc38eb9c0e63f4caa0f /phpBB/privmsg.php
parent2f7f35a1900b8aa40736aa319ef8dd5aef1e7ed1 (diff)
downloadforums-8ef00898b3eeea09a46ed24a140983f203d90b02.tar
forums-8ef00898b3eeea09a46ed24a140983f203d90b02.tar.gz
forums-8ef00898b3eeea09a46ed24a140983f203d90b02.tar.bz2
forums-8ef00898b3eeea09a46ed24a140983f203d90b02.tar.xz
forums-8ef00898b3eeea09a46ed24a140983f203d90b02.zip
fixed code:1 bbcode bug.
git-svn-id: file:///svn/phpbb/trunk@1287 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 2e861d9e1d..f77f0abd7c 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1178,7 +1178,7 @@ else if( $submit || $refresh || $mode != "" )
$to_username = $privmsg['username'];
$to_userid = $privmsg['user_id'];
- $privmsg_message = preg_replace("/\:$post_bbcode_uid(|\:[a-z])/si", "", $privmsg_message);
+ $privmsg_message = preg_replace("/(|\:1)\:$post_bbcode_uid(|\:[a-z])/si", "", $privmsg_message);
$privmsg_message = str_replace("<br />", "\n", $privmsg_message);
$privmsg_message = preg_replace($html_entities_match, $html_entities_replace, $privmsg_message);
$privmsg_message = preg_replace('#</textarea>#si', '&lt;/textarea&gt;', $privmsg_message);