Permalink
Browse files

Merge branch 'MDL-34529' of git://github.com/jasonilicic/moodle into …

…MOODLE_22_STABLE
  • Loading branch information...
2 parents 3ea975b + 0c62ad7 commit 59e2a775961201c213bb65237595e597ae730ac2 @stronk7 stronk7 committed Aug 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/util/dbops/backup_plan_dbops.class.php
@@ -112,7 +112,7 @@ public static function get_sections_from_courseid($courseid) {
// Get all sections belonging to requested course
$sectionsarr = array();
- $sections = $DB->get_records('course_sections', array('course' => $courseid));
+ $sections = $DB->get_records('course_sections', array('course' => $courseid), 'section');
foreach ($sections as $section) {
$sectionsarr[] = $section->id;
}

0 comments on commit 59e2a77

Please sign in to comment.