Skip to content

Commit

Permalink
Fix #758 - use correct url in $PAGE.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Nov 19, 2024
1 parent 7cd2232 commit aa7371d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/marksessions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aa7371d

Please sign in to comment.