Commit 3bfb600a authored by Gábor Hojtsy's avatar Gábor Hojtsy

#213172 by skiquel: let color module run properly without a base image

parent c1b5c774
......@@ -317,8 +317,10 @@ function color_scheme_form_submit($form, &$form_state) {
$paths['files'][] = $paths['target'] . $base;
}
// Render new images.
_color_render_images($theme, $info, $paths, $palette);
// Render new images, if image provided.
if ($info['base_image']) {
_color_render_images($theme, $info, $paths, $palette);
}
// Rewrite theme stylesheets.
$css = 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