Skip to content

Commit

Permalink
Bug #5996 - block+resource=problem; merged from MOODLE_16_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 3, 2006
1 parent 050e112 commit dbfa9cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/resource/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ function display_course_blocks_start() {

require_once($CFG->libdir.'/blocklib.php');
require_once($CFG->libdir.'/pagelib.php');
require_once($CFG->dirroot.'/course/lib.php'); //required by some blocks

$PAGE = page_create_object(PAGE_COURSE_VIEW, $this->course->id);
$this->PAGE = $PAGE;
Expand Down

0 comments on commit dbfa9cc

Please sign in to comment.