Merge branch 'MDL-62772-master_always_show_disclosure' of https://github.com/jmcgettrick/moodle

This commit is contained in:
Jake Dallimore
2018-07-10 08:59:34 +08:00
+4 -4
View File
@@ -4532,10 +4532,10 @@ class assign {
$this->show_intro(),
$this->get_course_module()->id,
$title, '', $postfix));
if ($userid == $USER->id) {
// We only show this if it their submission.
$o .= $this->plagiarism_print_disclosure();
}
// Show plagiarism disclosure for any user submitter.
$o .= $this->plagiarism_print_disclosure();
$data = new stdClass();
$data->userid = $userid;
if (!$mform) {