summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-01 11:32:07 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-01 11:32:07 +0000
commitf7ee91227ed6def55d736d3063902b405546d58f (patch)
tree322e02e8972cbfbd26af692a6711ce328e362779
parentf7f316cd01dd307015bf3a9fd78b77d9ab097bf5 (diff)
downloadbrdo-f7ee91227ed6def55d736d3063902b405546d58f.tar.gz
brdo-f7ee91227ed6def55d736d3063902b405546d58f.tar.bz2
#160395 follow up patch by dvessel: fix array initialization
-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;
}