diff --git a/classes/rubric.php b/classes/rubric.php index 2e70c45..5782053 100644 --- a/classes/rubric.php +++ b/classes/rubric.php @@ -102,7 +102,8 @@ public function get_data(\assign $assign, \cm_info $cm) : array { AND stu.deleted = 0 ORDER BY lastname ASC, firstname ASC, userid ASC, criteria.sortorder ASC"; - $data = $DB->get_records_sql($sql, ['assignid' => $cm->id, 'instancestatus' => \gradingform_instance::INSTANCE_STATUS_ACTIVE]); + $data = $DB->get_records_sql($sql, ['assignid' => $cm->id, + 'instancestatus' => \gradingform_instance::INSTANCE_STATUS_ACTIVE]); $data = set_blindmarking($data, $assign, $cm); return $data; }