Implement solution for bug #493663 Re: in reply subject

git-svn-id: file:///svn/phpbb/trunk@1607 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-16 15:30:37 +00:00
parent 652b7d323c
commit c7cab8ad25

View file

@ -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'];