--- moodle192/grade/edit/outcome/import.php 2009-02-20 08:14:11.000000000 +1030 +++ moodle19/grade/edit/outcome/import.php 2009-01-14 13:14:25.000000000 +1030 @@ -178,9 +178,9 @@ //$db->debug = 3498723498237; // .. very large randomly-typed random value if ($local_scope) { - $outcome = get_records_select('grade_outcomes', 'shortname = \''. $csv_data[$imported_headers['outcome_shortname']] .'\' and courseid = '. $courseid ); + $outcome = get_records_select('grade_outcomes', 'shortname = "'. $csv_data[$imported_headers['outcome_shortname']] .'" and courseid = '. $courseid ); } else { - $outcome = get_records_select('grade_outcomes', 'shortname = \''. $csv_data[$imported_headers['outcome_shortname']] .'\' and courseid is null'); + $outcome = get_records_select('grade_outcomes', 'shortname = "'. $csv_data[$imported_headers['outcome_shortname']] .'" and courseid is null'); } //var_export($outcome);