mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-47243 core_grades: Allow extra credit on outcome grade items
This commit is contained in:
parent
c53708d9c0
commit
5e18456631
@ -202,7 +202,7 @@ class edit_outcomeitem_form extends moodleform {
|
||||
|
||||
$parent_category->apply_forced_settings();
|
||||
|
||||
if (!$parent_category->is_aggregationcoef_used() or $parent_category->aggregation == GRADE_AGGREGATE_SUM) {
|
||||
if (!$parent_category->is_aggregationcoef_used()) {
|
||||
if ($mform->elementExists('aggregationcoef')) {
|
||||
$mform->removeElement('aggregationcoef');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user