From bd8187cbbbd09b5c47ad31c74023597c8005f7d6 Mon Sep 17 00:00:00 2001 From: Joel Uckelman Date: Thu, 1 Mar 2012 03:35:38 +0100 Subject: build_post should prepend Re: for replies. --- src/PhpBB3Impl.php | 2 +- src/build_post.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/PhpBB3Impl.php b/src/PhpBB3Impl.php index 59f052f..7e8595a 100644 --- a/src/PhpBB3Impl.php +++ b/src/PhpBB3Impl.php @@ -206,7 +206,7 @@ class PhpBB3Impl implements PhpBB3 { $listTag = '[messages]'; $forumName = $this->getForumName($forumId); $forumTag = '[' . html_entity_decode($forumName, ENT_QUOTES) . ']'; - $subject = build_post_subject($listTag, $forumTag, $subject); + $subject = build_post_subject($listTag, $forumTag, $subject, $postType == 'reply'); list($message, $attachments) = $msg->getFlattenedParts(); diff --git a/src/build_post.php b/src/build_post.php index 9039dcb..d889b92 100644 --- a/src/build_post.php +++ b/src/build_post.php @@ -1,6 +1,6 @@