Commit 9e7f41cd authored by Dries's avatar Dries

- Patch #92365 by chx: Garland does not display secondary tabs when color module is off.

parent 57688517
......@@ -49,8 +49,6 @@ function _color_page_alter(&$vars) {
if ($logo && $vars['logo'] && preg_match('!'. $theme_key .'/logo.png$!', $vars['logo'])) {
$vars['logo'] = $logo;
}
return $vars;
}
/**
......
......@@ -64,8 +64,9 @@ function _phptemplate_variables($hook, $vars) {
// Hook into color.module
if (module_exists('color')) {
return _color_page_alter($vars);
_color_page_alter($vars);
}
return $vars;
}
return array();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment