aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/layout/shells/two_column_left_sidebar.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/default/layout/shells/two_column_left_sidebar.php b/views/default/layout/shells/two_column_left_sidebar.php
index 0df5109ee..d2dc81e38 100644
--- a/views/default/layout/shells/two_column_left_sidebar.php
+++ b/views/default/layout/shells/two_column_left_sidebar.php
@@ -5,8 +5,12 @@
* Use one_sidebar instead
*/
-$vars['content'] = $vars['area2'];
-$vars['sidebar'] = $vars['area1'] . $vars['area3'];
+if (!isset($vars['content'])) {
+ $vars['content'] = $vars['area2'];
+}
+if (!isset($vars['content'])) {
+ $vars['sidebar'] = $vars['area1'] . $vars['area3'];
+}
unset($vars['area1']);
unset($vars['area2']);