From d0bd78238c4a7d88c6f349a48ba6561dcf794907 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 19 Oct 2008 20:32:41 +0000 Subject: [PATCH] - Rollback of #323182; parse error. --- includes/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/theme.inc b/includes/theme.inc index e55f2732fbb..5473cb937e5 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1799,7 +1799,7 @@ function template_preprocess_page(&$variables) { // Load all region content assigned via blocks. foreach (array_keys($regions) as $region) { // Prevent left and right regions from rendering blocks when 'show_blocks' == FALSE. - if ($variables['show_blocks'] || ($region != 'left' && $region != 'right'))) { + if (!(!$variables['show_blocks'] && ($region == 'left' || $region == 'right'))) { $blocks = theme('blocks', $region); } else {