blocks - MDL-19010 fix bug where blocks did not show up with editing off.

This commit is contained in:
tjhunt
2009-07-09 08:17:23 +00:00
parent d4a03c00ea
commit fc2593fef9
+1
View File
@@ -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.