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:
23c3ee7
)
Fix #290 correct $where statement.
author
Dan Marsden
<dan@danmarsden.com>
Tue, 30 Jan 2018 03:54:02 +0000
(16:54 +1300)
committer
Dan Marsden
<dan@danmarsden.com>
Tue, 30 Jan 2018 03:54:02 +0000
(16:54 +1300)
locallib.php
patch
|
blob
|
history
diff --git
a/locallib.php
b/locallib.php
index
67aa737
..
811574f
100644
(file)
--- a/
locallib.php
+++ b/
locallib.php
@@
-735,7
+735,7
@@
function attendance_get_users_to_notify($courseids = array(), $orderby = '', $al
global $DB;
$joingroup = 'LEFT JOIN {groups_members} gm ON (gm.userid = atl.studentid AND gm.groupid = ats.groupid)';
- $where = '
AND
(ats.groupid = 0 or gm.id is NOT NULL)';
+ $where = ' (ats.groupid = 0 or gm.id is NOT NULL)';
$having = '';
$params = array();