With warning notices turned on, I get the following warning notice for each attendance record during restore of a course:
Notice: Undefined index: 1949 in /Library/WebServer/Documents/moodle/mod/attforblock/restorelib.php on line 159
Column 'attsid' cannot be null
INSERT INTO mdl_attendance_log ( ATTSID, STUDENTID, STATUS, REMARKS ) VALUES ( null, 2111, 'P', '' )
It's just a warning and everything appears to work properly, but I figured I should report it in case it has ramifications elsewhere or just an easy fix.
Small bug (SQL Warning) in attendance restore
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.