mirror of
https://github.com/moodle/moodle.git
synced 2025-04-04 16:04:00 +02:00
MDL-48723 mod/forum: Fix cron task error on digest attachments.
This commit is contained in:
parent
1d3fd63f97
commit
334bee5f60
@ -4094,8 +4094,8 @@ function forum_print_attachments($post, $cm, $type) {
|
||||
$output .= plagiarism_get_links(array('userid' => $post->userid,
|
||||
'file' => $file,
|
||||
'cmid' => $cm->id,
|
||||
'course' => $post->course,
|
||||
'forum' => $post->forum));
|
||||
'course' => $cm->course,
|
||||
'forum' => $cm->instance));
|
||||
$output .= '<br />';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user