aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2002-02-03 19:26:07 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2002-02-03 19:26:07 +0000
commit594e162615197ea6d9f0d537d36a095b91ebe4fc (patch)
treef2856b23bd4413b9c61ebb293fb3f1c7b22c07a0 /phpBB/privmsg.php
parent225a4ff8e77443aa358bec092532f37a381f622a (diff)
downloadforums-594e162615197ea6d9f0d537d36a095b91ebe4fc.tar
forums-594e162615197ea6d9f0d537d36a095b91ebe4fc.tar.gz
forums-594e162615197ea6d9f0d537d36a095b91ebe4fc.tar.bz2
forums-594e162615197ea6d9f0d537d36a095b91ebe4fc.tar.xz
forums-594e162615197ea6d9f0d537d36a095b91ebe4fc.zip
Fixed bug #506007
git-svn-id: file:///svn/phpbb/trunk@2050 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index d4d9144867..8a505197e7 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1396,12 +1396,16 @@ else if( $submit || $refresh || $mode != "" )
{
$preview_message = $preview_message . "<br /><br />_________________<br />" . $user_sig;
}
-
+
if( count($orig_word) )
{
$preview_subject = preg_replace($orig_word, $replacement_word, $privmsg_subject);
$preview_message = preg_replace($orig_word, $replacement_word, $preview_message);
}
+ else
+ {
+ $preview_subject = $privmsg_subject;
+ }
if( $smilies_on )
{