From 8cb176bb982475377f27c5261ce0909ed0102a46 Mon Sep 17 00:00:00 2001 From: Michael Milette Date: Thu, 25 Jun 2015 09:14:11 -0400 Subject: [PATCH] Fix to make $PAGE->url valid by adding the action parameter. Signed-off-by: Michael Milette --- sessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sessions.php b/sessions.php index 1bc08f5..0faaeb2 100644 --- a/sessions.php +++ b/sessions.php @@ -50,7 +50,7 @@ $att = new attendance($att, $cm, $course, $PAGE->context, $pageparams); $att->perm->require_manage_capability(); -$PAGE->set_url($att->url_sessions()); +$PAGE->set_url($att->url_sessions(array('action'=>$pageparams->action))); $PAGE->set_title($course->shortname. ": ".$att->name); $PAGE->set_heading($course->fullname); $PAGE->set_cacheable(true);