Browse files

MDL-37254 add missing AS keyword

  • Loading branch information...
1 parent 322af44 commit ac4404e0cce2a1275e74062c5fc041e81465883b @skodak skodak committed Dec 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/filebrowser/file_info_context_course.php
View
2 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 ac4404e

Please sign in to comment.