diff --git a/locallib.php b/locallib.php index 26a68ff..a1b5d99 100644 --- a/locallib.php +++ b/locallib.php @@ -849,7 +849,7 @@ class attforblock { WHERE ue.userid $usql AND e.status = :estatus AND e.courseid = :courseid - GROUP BY ue.userid, ue.status, ue.timestart, ue.timeend;"; + GROUP BY ue.userid, ue.status, ue.timestart, ue.timeend"; $params = array_merge($uparams, array('estatus'=>ENROL_INSTANCE_ENABLED, 'courseid'=>$this->course->id)); $enrolmentsparams = $DB->get_records_sql($sql, $params);