MDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the fix. Merged from MOODLE_17_STABLE.

This commit is contained in:
tjhunt
2006-11-14 15:41:20 +00:00
parent 547e5e7ab0
commit f9c92efef3
+1 -1
View File
@@ -1480,7 +1480,7 @@ function question_category_select_menu($courseid, $published = false, $only_edit
SELECT cat.*, c.shortname AS coursename
FROM {$CFG->prefix}question_categories cat, {$CFG->prefix}course c
WHERE c.id = cat.course AND (cat.course = $courseid $publishsql)
ORDER BY parent, sortorder, name ASC");
ORDER BY cat.parent, cat.sortorder, cat.name ASC");
$categories = add_indented_names($categories);