MDL-25593 added missing filelib include

credit goes to Adam Olley
This commit is contained in:
Petr Skoda 2010-12-08 08:15:21 +00:00
parent 320e50b783
commit 3aa2fd20c0

View File

@ -11,6 +11,9 @@ class block_glossary_random extends block_base {
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