From: gustav_delius Date: Sat, 29 May 2004 10:35:57 +0000 (+0000) Subject: fixed empty boxes bug reported in http://moodle.org/mod/forum/discuss.php?d=8432 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e48550e0b80551fb655a9619e7c1ba11120d1272;p=moodle.git fixed empty boxes bug reported in http://moodle.org/mod/forum/discuss.php?d=8432 --- diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 8896a40bf1..4450a43479 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -87,7 +87,7 @@ class MoodleBlock { } break; case BLOCK_TYPE_LIST: - if(empty($this->content->text) && empty($this->content->footer)) { + if(empty($this->content->items) && empty($this->content->footer)) { if(empty($this->edit_controls)) { // No content, no edit controls, so just shut up break;