aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-12-16 15:30:37 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-12-16 15:30:37 +0000
commitc7cab8ad255913573ccaf601993cd7435866cb70 (patch)
treec411a0bf666582d637c188049dbfd63cb34c35e1 /phpBB/privmsg.php
parent652b7d323c973fb8dd3dad7f59006c48febdaba0 (diff)
downloadforums-c7cab8ad255913573ccaf601993cd7435866cb70.tar
forums-c7cab8ad255913573ccaf601993cd7435866cb70.tar.gz
forums-c7cab8ad255913573ccaf601993cd7435866cb70.tar.bz2
forums-c7cab8ad255913573ccaf601993cd7435866cb70.tar.xz
forums-c7cab8ad255913573ccaf601993cd7435866cb70.zip
Implement solution for bug #493663 Re: in reply subject
git-svn-id: file:///svn/phpbb/trunk@1607 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 949d8dc20e..3686c325c0 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1274,7 +1274,7 @@ else if( $submit || $refresh || $mode != "" )
}
$privmsg = $db->sql_fetchrow($pm_reply_status);
- $privmsg_subject = ( (strstr("Re:", $privmsg['privmsgs_subject'])) ? $lang['Re'] . ":" : "" ) . $privmsg['privmsgs_subject'];
+ $privmsg_subject = ( ( !preg_match("/^Re:/", $privmsg['privmsgs_subject']) ) ? "Re: " : "" ) . $privmsg['privmsgs_subject'];
$to_username = $privmsg['username'];
$to_userid = $privmsg['user_id'];