Skip to content

Commit

Permalink
MDL-25593 added missing filelib include
Browse files Browse the repository at this point in the history
credit goes to Adam Olley
  • Loading branch information
skodak committed Dec 8, 2010
1 parent 320e50b commit 3aa2fd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions blocks/glossary_random/block_glossary_random.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ function init() {

function specialization() {
global $CFG, $DB;

require_once($CFG->libdir . '/filelib.php');

$this->course = $this->page->course;

// load userdefined title and make sure it's never empty
Expand Down

0 comments on commit 3aa2fd2

Please sign in to comment.