Merge branch 'MDL-45029-26' of git://github.com/lameze/moodle into MOODLE_26_STABLE
Conflicts: course/modlib.php
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ function edit_module_post_actions($moduleinfo, $course) {
|
||||
$outcome_item->set_parent($moduleinfo->gradecat);
|
||||
}
|
||||
$gradecategory = $outcome_item->get_parent_category();
|
||||
if (!empty($moduleinfo->add)) {
|
||||
if ($outcomeexists == false) {
|
||||
if (grade_category::aggregation_uses_aggregationcoef($gradecategory->aggregation)) {
|
||||
if ($gradecategory->aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN) {
|
||||
$outcome_item->aggregationcoef = 1;
|
||||
|
||||
Reference in New Issue
Block a user