mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-10109 fixed aggregate outcomes depends_on() incorrect condition
This commit is contained in:
parent
88cd967851
commit
e8a46dcc2c
@ -1115,7 +1115,7 @@ class grade_item extends grade_object {
|
||||
return array();
|
||||
}
|
||||
|
||||
if (!empty($CFG->enableoutcomes) or $grade_category->aggregateoutcomes) {
|
||||
if (empty($CFG->enableoutcomes) or $grade_category->aggregateoutcomes) {
|
||||
$outcomes_sql = "";
|
||||
} else {
|
||||
$outcomes_sql = "AND gi.outcomeid IS NULL";
|
||||
|
Loading…
x
Reference in New Issue
Block a user