diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 77b506e447ef5..49038d9f9c3c4 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -58,6 +58,9 @@ function print_block() { } $this->get_content(); + if(!isset($this->content->footer)) { + $this->content->footer = ''; + } switch($this->content_type) { case BLOCK_TYPE_NUKE: