MDL-36737 fix random glossary E_STRICT issue

This commit is contained in:
Petr Škoda 2012-12-08 14:44:05 +01:00
parent 99584654ce
commit b03f7353d0

View file

@ -137,6 +137,7 @@ class block_glossary_random extends block_base {
$this->config->cache = ''; $this->config->cache = '';
$this->instance_config_commit(); $this->instance_config_commit();
$this->content = new stdClass();
$this->content->text = get_string('notyetconfigured','block_glossary_random'); $this->content->text = get_string('notyetconfigured','block_glossary_random');
$this->content->footer = ''; $this->content->footer = '';
return $this->content; return $this->content;