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

This commit is contained in:
Michael Hawkins
2019-01-21 16:40:04 +08:00
parent c092f75791
commit 6cab66bbe3
+1 -1
View File
@@ -593,7 +593,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>';