From 9481cc0e06e232c07826085000b962733845a495 Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 9 Jul 2018 09:26:38 +0100 Subject: [PATCH] MDL-62772 mod_assign: Show disclosure for all submitters --- mod/assign/locallib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 75f4ccd9d9b..0a13324abae 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -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) {