MDL-48723 mod/forum: Fix cron task error on digest attachments.

This commit is contained in:
Colin Campbell 2015-04-08 13:06:13 -05:00
parent 1d3fd63f97
commit 334bee5f60

View File

@ -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 />';
}
}