diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-10-19 20:06:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-10-19 20:06:48 +0000 |
commit | 7e9b5527534ce2d8b19fa1afa4f1614fa659c421 (patch) | |
tree | 1a854948e26acdc0f00c196db68721899317593f /includes | |
parent | f7eac0049a7301099332c2807c1dc03eb7436b2b (diff) | |
download | brdo-7e9b5527534ce2d8b19fa1afa4f1614fa659c421.tar.gz brdo-7e9b5527534ce2d8b19fa1afa4f1614fa659c421.tar.bz2 |
- Patch #323182 by chx: code cleanup.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 5473cb937..e55f2732f 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 { |