mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-25593 added missing filelib include
credit goes to Adam Olley
This commit is contained in:
parent
320e50b783
commit
3aa2fd20c0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user