diff --git a/module/block/model.php b/module/block/model.php index 592161c3e2..7b40bdd8c9 100644 --- a/module/block/model.php +++ b/module/block/model.php @@ -38,6 +38,17 @@ class blockModel extends model ->remove('uid,actionLink,modules,moduleBlock') ->get(); + if($this->post->moduleBlock) + { + $data->source = $this->post->modules; + $data->block = $this->post->moduleBlock; + } + else + { + $data->source = ''; + $data->block = $this->post->modules; + } + if($block) $data->height = $block->height; if($type == 'html') {