Skip to content

Commit

Permalink
Merge branch 'wip-MDL-38701-m25' of git://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 8, 2013
2 parents 69ea3d7 + 498e9a9 commit efc9feb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/blocklib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2154,6 +2154,7 @@ function blocks_add_default_course_blocks($course) {
$blocknames = blocks_parse_default_blocks_list($CFG->{'defaultblocks_' . $course->format});

} else {
require_once($CFG->dirroot. '/course/lib.php');
$blocknames = course_get_format($course)->get_default_blocks();

}
Expand Down

0 comments on commit efc9feb

Please sign in to comment.