mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
gradebook MDL-22716 made the categories and items table usable on narrow screens
This commit is contained in:
parent
9543632ff8
commit
42e5b74426
2 changed files with 3 additions and 1 deletions
|
@ -105,9 +105,11 @@ if (!is_null($category) && !is_null($aggregationtype) && confirm_sesskey()) {
|
|||
if (!$grade_category = grade_category::fetch(array('id'=>$category, 'courseid'=>$courseid))) {
|
||||
print_error('invalidcategoryid');
|
||||
}
|
||||
|
||||
$data->aggregation = $aggregationtype;
|
||||
grade_category::set_properties($grade_category, $data);
|
||||
$grade_category->update();
|
||||
|
||||
grade_regrade_final_grades($courseid);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue