After enabling the theme I get the following message:
Notice: Undefined variable: themed_regions in zeropoint_preprocess_block() (line 148 of [...]/sites/all/themes/zeropoint/template.php).
Do not have time for creating a patch, but this can be easily fixed with adding an extra check to the line 148:
if ($themedblocks == '1'){
$themed_regions = array('sidebar_first','sidebar_second','user1','user2','user3','user4','user5','user6','user7','user8');
}
if (isset($themed_regions) && is_array($themed_regions))
$vars['themed_block'] = (in_array($vars['block']->region, $themed_regions)) ? TRUE : FALSE;
else $vars['themed_block'] = FALSE;
Comments
Comment #1
florian commented