Permalink
Browse files

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

…skodak/moodle into MOODLE_24_STABLE
  • Loading branch information...
2 parents b2e3fb3 + c0333c9 commit 04ab55dd4fd0d027d966bf0e9880ac2a9e2611da @danpoltawski danpoltawski committed Jan 8, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 04ab55d

Please sign in to comment.