MDL-10109 fixed aggregate outcomes depends_on() incorrect condition

This commit is contained in:
skodak 2007-08-09 21:37:28 +00:00
parent 88cd967851
commit e8a46dcc2c

View File

@ -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";