@ -168,9 +168,13 @@
if ($sessdata->groupid && !array_key_exists($sessdata->groupid, $studgroups))
$table->data[$student->id][] = '';
else
if($sessdata->lasttaken > 0) {
$table->data[$student->id][] = '–';
} else {
$table->data[$student->id][] = '?';
}
foreach($statuses as $st) {
$table->data[$student->id][] = get_attendance($student->id, $course, $st->id);