]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10109 fixed aggregate outcomes depends_on() incorrect condition
authorskodak <skodak>
Thu, 9 Aug 2007 21:37:28 +0000 (21:37 +0000)
committerskodak <skodak>
Thu, 9 Aug 2007 21:37:28 +0000 (21:37 +0000)
lib/grade/grade_item.php

index fc37d2d87e7d588edfbabf95f46fe43f6c6dc581..31dade871e24a4e8d4a920b88ee4afe1ca63ba0f 100644 (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";