diff options
-rw-r--r-- | views/default/canvas/layouts/widgets.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php index cbd267377..89b9a803b 100644 --- a/views/default/canvas/layouts/widgets.php +++ b/views/default/canvas/layouts/widgets.php @@ -18,6 +18,13 @@ $area1widgets = get_widgets(page_owner(),get_context(),1); $area2widgets = get_widgets(page_owner(),get_context(),2); + if (empty($area1widgets) && empty($area2widgets)) { + + if (isset($area3)) $area1 = $area3; + if (isset($area4)) $area2 = $area3; + + } + if (is_array($widgettypes) && sizeof($widgettypes) > 0 && $owner->canEdit()) { |