diff --git a/import/marksessions.php b/import/marksessions.php index 9744cbefa8..442fde5fd5 100644 --- a/import/marksessions.php +++ b/import/marksessions.php @@ -52,7 +52,7 @@ $pageparams->init($course->id); $PAGE->set_context($context); -$url = new moodle_url('/mod/attendance/import/marksessions.php'); +$url = new moodle_url('/mod/attendance/import/marksessions.php', ['id' => $id, 'sessionid' => $pageparams->sessionid]); $PAGE->set_url($url); $PAGE->set_title($course->shortname. ": ".$att->name); $PAGE->set_heading($course->fullname);