Permalink
Browse files

If a block forgets to set the footer, we won't get a warning in debug…

… mode.
  • Loading branch information...
1 parent 8147ca0 commit 4153708fd96bd3574a3cc65ba4c0b83438283b41 defacer committed May 25, 2004
Showing with 3 additions and 0 deletions.
  1. +3 −0 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:

0 comments on commit 4153708

Please sign in to comment.