gradebook MDL-22716 made the categories and items table usable on narrow screens

This commit is contained in:
Andrew Davis 2010-06-10 03:00:04 +00:00
parent 9543632ff8
commit 42e5b74426
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}