From 6b89d922d4d12c507187efd470858413308e0d3b Mon Sep 17 00:00:00 2001 From: Nadav Kavalerchik Date: Mon, 2 Dec 2013 00:09:41 +0200 Subject: [PATCH] Add user's remarks to report --- locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locallib.php b/locallib.php index d26e464..ce1cc4e 100644 --- a/locallib.php +++ b/locallib.php @@ -1078,7 +1078,7 @@ class attendance { $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 JOIN {attendance_log} al ON ats.id = al.sessionid AND al.studentid = :uid @@ -1405,4 +1405,4 @@ function attforblock_upgrade() { rebuild_course_cache($attendance->courseid, true); } $attendances->close(); -} \ No newline at end of file +}