Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-37254 add missing AS keyword

  • Loading branch information...
commit c92a386ba4013b99b60b3a424e9b49e948d3fa16 1 parent 4a76321
@skodak skodak authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.