Commit f7ee9122 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#160395 follow up patch by dvessel: fix array initialization

parent f7f316cd
......@@ -279,7 +279,7 @@ function _theme_process_registry(&$cache, $name, $type, $theme, $path) {
}
// Let the theme engine register theme specific variable functions.
$prefixes[] = $prefix;
$prefixes = array($prefix);
if ($type == 'theme_engine') {
$prefixes[] = $theme;
}
......
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