projects
/
moodle-mod_attendance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c50bc
)
LTSDEV: Adjust SQL in get_users() for Oracle compatibility
author
Seth Hobson
<wshobson@gmail.com>
Wed, 1 Aug 2012 16:10:08 +0000
(12:10 -0400)
committer
Fred Woolard
<woolardfa@appstate.edu>
Wed, 8 Aug 2012 00:31:35 +0000
(20:31 -0400)
locallib.php
patch
|
blob
|
history
diff --git
a/locallib.php
b/locallib.php
index
26a68ff
..
a1b5d99
100644
(file)
--- 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);