]> git.mjollnir.org Git - moodle.git/commitdiff
changing to more cross-db compatible is null
authortoyomoyo <toyomoyo>
Wed, 25 Jul 2007 09:12:31 +0000 (09:12 +0000)
committertoyomoyo <toyomoyo>
Wed, 25 Jul 2007 09:12:31 +0000 (09:12 +0000)
grade/report/outcomes/course.php

index 95a60863b6aa4a9de26cdef36f526181dd29face..e341739a3d603128be8602f2d522452bf1b4558f 100755 (executable)
@@ -85,7 +85,7 @@ print_header_simple($strgrades.':'.$stroutcomes, ':'.$strgrades, $navigation, ''
 
     /// listing of all site outcomes + this course specific outcomes
     $outcomes = get_records_sql('SELECT * FROM '.$CFG->prefix.'grade_outcomes
-                                 WHERE ISNULL(courseid)');
+                                 WHERE courseid IS NULL');
 
     // outcomes used in this course
     $courseoutcomes = get_records_sql('SELECT go.id, go.fullname