Skip to content

Commit

Permalink
MDL-10109 fixed aggregate outcomes depends_on() incorrect condition
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Aug 9, 2007
1 parent 88cd967 commit e8a46dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grade/grade_item.php
Expand Up @@ -1115,7 +1115,7 @@ function depends_on() {
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";
Expand Down

0 comments on commit e8a46dc

Please sign in to comment.