Permalink
Browse files

MDL-37254 add missing AS keyword

  • Loading branch information...
1 parent 4a76321 commit c92a386ba4013b99b60b3a424e9b49e948d3fa16 @skodak skodak committed Dec 22, 2012
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 c92a386

Please sign in to comment.