summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 95ccc3ed0..55f5dd6cc 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -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;
}