From 0411eed2cbf268c7dbc133270ebff111281ee425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Sat, 8 Dec 2012 14:44:05 +0100 Subject: [PATCH] MDL-36737 fix random glossary E_STRICT issue --- blocks/glossary_random/block_glossary_random.php | 1 + 1 file changed, 1 insertion(+) diff --git a/blocks/glossary_random/block_glossary_random.php b/blocks/glossary_random/block_glossary_random.php index 916780d963395..1eccd11047ec6 100644 --- a/blocks/glossary_random/block_glossary_random.php +++ b/blocks/glossary_random/block_glossary_random.php @@ -137,6 +137,7 @@ function get_content() { $this->config->cache = ''; $this->instance_config_commit(); + $this->content = new stdClass(); $this->content->text = get_string('notyetconfigured','block_glossary_random'); $this->content->footer = ''; return $this->content;