Browse Source

Fix to make $PAGE->url valid by adding the action parameter.

Signed-off-by: Michael Milette <michael.milette@tngconsulting.ca>
MOODLE_28_STABLE
Michael Milette 10 years ago
parent
commit
8cb176bb98
  1. 2
      sessions.php

2
sessions.php

@ -50,7 +50,7 @@ $att = new attendance($att, $cm, $course, $PAGE->context, $pageparams);
$att->perm->require_manage_capability(); $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_title($course->shortname. ": ".$att->name);
$PAGE->set_heading($course->fullname); $PAGE->set_heading($course->fullname);
$PAGE->set_cacheable(true); $PAGE->set_cacheable(true);

Loading…
Cancel
Save