Permalink
Browse files

Merge branch 'w51_MDL-37254_m23_courseinfoas' of git://github.com/sko…

…dak/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents b7af1ee + c92a386 commit 053f6ebc427d8247681a66145bce5bfcfeab4f83 @danpoltawski danpoltawski committed Jan 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/filebrowser/file_info_context_course.php
@@ -813,7 +813,7 @@ public function count_non_empty_children($extensions = '*', $limit = 1) {
'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

0 comments on commit 053f6eb

Please sign in to comment.