Merge branch 'MDL-49575-master' of git://github.com/FMCorz/moodle

This commit is contained in:
David Monllao 2015-04-10 15:11:05 +08:00
commit 4969c8ba63

View File

@ -106,7 +106,7 @@ class override extends grade_attribute_format implements be_checked, be_disabled
$state = $value == 0 ? false : true;
$this->grade->set_overridden($state);
$this->grade->grade_item->get_parent_category()->force_regrading();
$this->grade->grade_item->force_regrading();
return false;
}
}