Browse Source

Merge pull request #106 from michael-milette/master

Fix to make $PAGE->url valid by adding the action parameter.
MOODLE_28_STABLE
Dan Marsden 10 years ago
parent
commit
7a99d8e4dd
  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