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:
711229b
)
Add user's remarks to report
author
Nadav Kavalerchik
<nadavkav@gmail.com>
Sun, 1 Dec 2013 22:09:41 +0000
(
00:09
+0200)
committer
Nadav Kavalerchik
<nadavkav@gmail.com>
Sun, 1 Dec 2013 22:09:41 +0000
(
00:09
+0200)
locallib.php
patch
|
blob
|
history
diff --git
a/locallib.php
b/locallib.php
index
d26e464
..
ce1cc4e
100644
(file)
--- 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
+}