Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c53708d
)
MDL-47243 core_grades: Allow extra credit on outcome grade items
author
John Okely
<john@moodle.com>
Thu, 9 Oct 2014 01:23:05 +0000
(09:23 +0800)
committer
John Okely
<john@moodle.com>
Wed, 15 Oct 2014 06:33:31 +0000
(14:33 +0800)
grade/edit/tree/outcomeitem_form.php
patch
|
blob
|
blame
|
history
diff --git
a/grade/edit/tree/outcomeitem_form.php
b/grade/edit/tree/outcomeitem_form.php
index
5707e21
..
9428e5b
100644
(file)
--- a/
grade/edit/tree/outcomeitem_form.php
+++ b/
grade/edit/tree/outcomeitem_form.php
@@
-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');
}