|
|
@ -816,7 +816,7 @@ class mod_attendance_renderer extends plugin_renderer_base { |
|
|
|
} |
|
|
|
|
|
|
|
if ($reportdata->sessionslog) { |
|
|
|
if (isset($reportdata->sessionslog[$user->id][$sess->id]->remarks)) { |
|
|
|
if (isset($sess) && isset($reportdata->sessionslog[$user->id][$sess->id]->remarks)) { |
|
|
|
$row->cells[] = $reportdata->sessionslog[$user->id][$sess->id]->remarks; |
|
|
|
} else { |
|
|
|
$row->cells[] = ''; |
|
|
|