diff --git a/classes/guide.php b/classes/guide.php index 1e843e3..2d3b764 100644 --- a/classes/guide.php +++ b/classes/guide.php @@ -105,7 +105,8 @@ public function get_data(\assign $assign, \cm_info $cm) :array { WHERE cm.id = :assignid AND gin.status = :instancestatus 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; } diff --git a/classes/rubref.php b/classes/rubref.php index 449635a..e920235 100644 --- a/classes/rubref.php +++ b/classes/rubref.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; }