Merge branch 'w51_MDL-37254_m24_courseinfoas' of git://github.com/skodak/moodle into MOODLE_24_STABLE

This commit is contained in:
Dan Poltawski
2013-01-08 10:24:11 +08:00
+1 -1
View File
@@ -813,7 +813,7 @@ class file_info_area_backup_section extends file_info {
'component' => 'backup',
'filearea' => 'section',
'emptyfilename' => '.');
$sql1 = "SELECT DISTINCT cs.id sectionid FROM {files} f, {course_sections} cs
$sql1 = "SELECT DISTINCT cs.id AS sectionid FROM {files} f, {course_sections} cs
WHERE cs.course = :courseid
AND f.contextid = :contextid
AND f.component = :component