Browse Source

Revert "Fix #290 correct $where statement."

This reverts commit 5218fcddf6.
MOODLE_32_STABLE
Dan Marsden 7 years ago
parent
commit
464e0d1c5d
  1. 2
      locallib.php

2
locallib.php

@ -742,7 +742,7 @@ function attendance_get_users_to_notify($courseids = array(), $orderby = '', $al
global $DB; global $DB;
$joingroup = 'LEFT JOIN {groups_members} gm ON (gm.userid = atl.studentid AND gm.groupid = ats.groupid)'; $joingroup = 'LEFT JOIN {groups_members} gm ON (gm.userid = atl.studentid AND gm.groupid = ats.groupid)';
$where = ' (ats.groupid = 0 or gm.id is NOT NULL)'; $where = ' AND (ats.groupid = 0 or gm.id is NOT NULL)';
$having = ''; $having = '';
$params = array(); $params = array();

Loading…
Cancel
Save