Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'w51_MDL-37301_m23_coursecatinfoas' of git://github.com/…

…skodak/moodle into MOODLE_23_STABLE
  • Loading branch information...
commit c7ad6f45046303553beee8cb155516ba473e68fb 2 parents 053f6eb + a340e04
@danpoltawski danpoltawski authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/filebrowser/file_info_context_coursecat.php
View
4 lib/filebrowser/file_info_context_coursecat.php
@@ -204,7 +204,7 @@ public function count_non_empty_children($extensions = '*', $limit = 1) {
return $cnt;
}
- $rs = $DB->get_recordset_sql('SELECT ctx.id contextid, c.visible
+ $rs = $DB->get_recordset_sql('SELECT ctx.id AS contextid, c.visible
FROM {context} ctx, {course} c
WHERE ctx.instanceid = c.id
AND ctx.contextlevel = :courselevel
@@ -226,7 +226,7 @@ public function count_non_empty_children($extensions = '*', $limit = 1) {
return $cnt;
}
- $rs = $DB->get_recordset_sql('SELECT ctx.id contextid, cat.visible
+ $rs = $DB->get_recordset_sql('SELECT ctx.id AS contextid, cat.visible
FROM {context} ctx, {course_categories} cat
WHERE ctx.instanceid = cat.id
AND ctx.contextlevel = :catlevel
Please sign in to comment.
Something went wrong with that request. Please try again.