From 65ebc47636489a93403df4c1b7bfe948e101e86a Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 23 Aug 2005 06:46:35 +0000 Subject: [PATCH] Backticks are NOT ALLOWED in postgres! --- admin/oacleanup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/oacleanup.php b/admin/oacleanup.php index 2ae2c203016..ac547381f4a 100644 --- a/admin/oacleanup.php +++ b/admin/oacleanup.php @@ -57,7 +57,7 @@ function online_assignment_cleanup($output=false) { if ($output) print_heading($fullname); /// retrieve a list of sections beyond what is currently being shown - $sql = 'SELECT * FROM '.$CFG->prefix.'course_sections WHERE `course`='.$course->id.' AND `section`>'.$course->numsections.' ORDER BY `section` ASC'; + $sql = 'SELECT * FROM '.$CFG->prefix.'course_sections WHERE course='.$course->id.' AND section>'.$course->numsections.' ORDER BY section ASC'; if (!($xsections = get_records_sql($sql))) { if ($output) echo 'No extra sections
'; continue;