From 4e190d7eae9d069790fc8a972dbc17dbdb34c927 Mon Sep 17 00:00:00 2001 From: Michael Hawkins Date: Thu, 22 Nov 2018 17:39:14 +0800 Subject: [PATCH] MDL-63892 mod_forum: Correction to timestamp added to edit strings --- mod/forum/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/post.php b/mod/forum/post.php index 4f79679b41b..ae1af721634 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -574,7 +574,7 @@ file_prepare_draft_area($draftitemid, $modcontext->id, 'mod_forum', 'attachment' if ($USER->id != $post->userid) { // Not the original author, so add a message to the end $data = new stdClass(); - $data->date = userdate($post->modified); + $data->date = userdate($post->created); if ($post->messageformat == FORMAT_HTML) { $data->name = ''. fullname($USER).'';