From 61d5685b0435a59681ed3512b1b6582b61f937fa Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 9 Jul 2018 09:14: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 b0cb237bea7..dd24fc97795 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -4522,10 +4522,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) {