Browse Source

Merge pull request #22 from nadavkav/master

Add user's remarks to report - part 2
MOODLE_26_STABLE
Dan Marsden 11 years ago
parent
commit
f928f49363
  1. 2
      locallib.php

2
locallib.php

@ -1128,7 +1128,7 @@ class attendance {
$where = "ats.attendanceid = :aid AND ats.sessdate >= :csdate"; $where = "ats.attendanceid = :aid AND ats.sessdate >= :csdate";
} }
$sql = "SELECT ats.id, ats.sessdate, ats.groupid, al.statusid $sql = "SELECT ats.id, ats.sessdate, ats.groupid, al.statusid, al.remarks
FROM {attendance_sessions} ats FROM {attendance_sessions} ats
JOIN {attendance_log} al JOIN {attendance_log} al
ON ats.id = al.sessionid AND al.studentid = :uid ON ats.id = al.sessionid AND al.studentid = :uid

Loading…
Cancel
Save