|
@ -849,7 +849,7 @@ class attforblock { |
|
|
WHERE ue.userid $usql |
|
|
WHERE ue.userid $usql |
|
|
AND e.status = :estatus |
|
|
AND e.status = :estatus |
|
|
AND e.courseid = :courseid |
|
|
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)); |
|
|
$params = array_merge($uparams, array('estatus'=>ENROL_INSTANCE_ENABLED, 'courseid'=>$this->course->id)); |
|
|
$enrolmentsparams = $DB->get_records_sql($sql, $params); |
|
|
$enrolmentsparams = $DB->get_records_sql($sql, $params); |
|
|
|
|
|
|
|
|