From e48550e0b80551fb655a9619e7c1ba11120d1272 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sat, 29 May 2004 10:35:57 +0000 Subject: [PATCH] fixed empty boxes bug reported in http://moodle.org/mod/forum/discuss.php?d=8432 --- blocks/moodleblock.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5