From fdc4ef50f62240d131af8b6d501da9f5d3cda4d0 Mon Sep 17 00:00:00 2001 From: cedict Date: Fri, 6 Dec 2013 13:21:16 +1030 Subject: [PATCH] Export remarks Fixed error when remarks are not being exported --- export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export.php b/export.php index e56d8db..215191a 100644 --- a/export.php +++ b/export.php @@ -121,7 +121,7 @@ if ($mform->is_submitted()) { $data->table[$i][] = $user->lastname; $data->table[$i][] = $user->firstname; $cellsgenerator = new user_sessions_cells_text_generator($reportdata, $user); - $data->table[$i] = array_merge($data->table[$i], $cellsgenerator->get_cells($formdata->includeremarks)); + $data->table[$i] = array_merge($data->table[$i], $cellsgenerator->get_cells(isset($formdata->includeremarks))); if ($reportdata->gradable) { $data->table[$i][] = $reportdata->grades[$user->id].' / '.$reportdata->maxgrades[$user->id]; }