Commit b30633de authored by webchick's avatar webchick
Browse files

#489762 follow-up by JohnAlbin: Fix for sub-theme screenshots not showing up.

parent 15a7ec5a
......@@ -211,7 +211,8 @@ function system_themes_form() {
$screenshot = NULL;
// Create a list which includes the current theme and all its base themes.
if (isset($themes[$theme->name]->base_themes)) {
$theme_keys = array_keys($themes[$theme->name]->base_themes) + array($theme->name);
$theme_keys = array_keys($themes[$theme->name]->base_themes);
$theme_keys[] = $theme->name;
}
else {
$theme_keys = array($theme->name);
......
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