From fc2593fef91be614a5c5dae71601a5f7cc0e0a9d Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 9 Jul 2009 08:17:23 +0000 Subject: [PATCH] blocks - MDL-19010 fix bug where blocks did not show up with editing off. --- lib/blocklib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/blocklib.php b/lib/blocklib.php index 02cb6af8ca..2cca159d1b 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -261,6 +261,7 @@ class block_manager { return false; } $this->check_is_loaded(); + $this->ensure_instances_exist($region); if ($this->page->user_is_editing() && $this->page->user_can_edit_blocks()) { // If editing is on, we need all the block regions visible, for the // move blocks UI. -- 2.39.5