Skip to content

Commit

Permalink
MDL-48148 mod_forum: Use correct original subject when handling replies
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Nov 26, 2014
1 parent ac8c153 commit 72590a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/classes/message/inbound/reply_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function process_message(\stdClass $record, \stdClass $messagedata) {
$newsubject = $post->subject;
if (!strpos($restring, $post->subject)) {
// The previous post did not contain a re string, add it.
$newsubject = $restring . ' ' . $subject;
$newsubject = $restring . ' ' . $newsubject;
}
mtrace("--> Note: Post subject matched original post subject. Optimising from {$subject} to {$newsubject}");
$subject = $newsubject;
Expand Down

0 comments on commit 72590a5

Please sign in to comment.