Browse Source

coursecat class deprecated.

nwp90-nwp90-allsessionsreport
Dan Marsden 5 years ago
parent
commit
b5537f902a
  1. 2
      coursesummary.php

2
coursesummary.php

@ -76,7 +76,7 @@ if (!$table->is_downloading($download, $exportfilename)) {
$url = new moodle_url('/mod/attendance/coursesummary.php', array('category' => $category, 'fromcourse' => $fromcourse));
if ($admin) {
$options = coursecat::make_categories_list('mod/attendance:viewsummaryreports');
$options = core_course_category::make_categories_list('mod/attendance:viewsummaryreports');
echo $OUTPUT->single_select($url, 'category', $options, $category);
}

Loading…
Cancel
Save