MDL-63892 mod_forum: Correction to timestamp added to edit strings

This commit is contained in:
Michael Hawkins
2019-02-12 17:28:07 +08:00
parent 87711249c3
commit 4e190d7eae
+1 -1
View File
@@ -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 = '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$USER->id.'&course='.$post->course.'">'.
fullname($USER).'</a>';