From: toyomoyo Date: Wed, 25 Jul 2007 09:12:31 +0000 (+0000) Subject: changing to more cross-db compatible is null X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=675bfda8aed6e8f4628b9bb2e7133ac9ef702e36;p=moodle.git changing to more cross-db compatible is null --- diff --git a/grade/report/outcomes/course.php b/grade/report/outcomes/course.php index 95a60863b6..e341739a3d 100755 --- a/grade/report/outcomes/course.php +++ b/grade/report/outcomes/course.php @@ -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