From 0858da36e66ac7ffa5e41d48bcaa5068f2cfdfa2 Mon Sep 17 00:00:00 2001 From: Seth Hobson Date: Wed, 1 Aug 2012 12:10:08 -0400 Subject: [PATCH] LTSDEV: Adjust SQL in get_users() for Oracle compatibility --- locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);