Merge branch 'w51_MDL-37254_m25_courseinfoas' of git://github.com/skodak/moodle

This commit is contained in:
Dan Poltawski 2013-01-08 10:24:01 +08:00
commit 36b6340532

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