Skip to content

Commit 0899c9e

Browse files
committed
format message for editing
1 parent 7329301 commit 0899c9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

classes/post/post_control.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ private function build_prepost_edit(int $editpostid): void {
318318
// Load the $post variable.
319319
$this->assemble_prepost();
320320

321+
// Format the message.
322+
$this->prepost->message = $this->info->relatedpost->get_message_formatted();
323+
321324
// Unset where the user is coming from. This allows to calculate the correct return url later.
322325
unset($SESSION->fromdiscussion);
323326
}

0 commit comments

Comments
 (0)