From aa7371d27c5054d2f73540bd7f6696c39cd8d1f6 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Tue, 19 Nov 2024 15:06:25 +1300 Subject: [PATCH] Fix #758 - use correct url in $PAGE. --- import/marksessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);