MDL-57639 mod_forum: Update to use correct variable name
This addresses a regression where unnecessary attributes were removed from the old variable. This one was missed.
This commit is contained in:
+1
-1
@@ -4458,7 +4458,7 @@ function forum_update_post($newpost, $mform, $unused = null) {
|
||||
forum_add_attachment($post, $forum, $cm, $mform);
|
||||
|
||||
if (forum_tp_can_track_forums($forum) && forum_tp_is_tracked($forum)) {
|
||||
forum_tp_mark_post_read($USER->id, $post, $post->forum);
|
||||
forum_tp_mark_post_read($USER->id, $post, $forum->id);
|
||||
}
|
||||
|
||||
// Let Moodle know that assessable content is uploaded (eg for plagiarism detection)
|
||||
|
||||
Reference in New Issue
Block a user