summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-07 14:48:56 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-07 14:48:56 +0000
commitcaacf80aee8fa7858f4d724d3b81e87c9f8706f0 (patch)
tree32cfaab4e897e5981eb5a424e826f18b9b6878e9
parent646a5b43e563572705e1ae4b1714137b0d91744b (diff)
downloadbrdo-caacf80aee8fa7858f4d724d3b81e87c9f8706f0.tar.gz
brdo-caacf80aee8fa7858f4d724d3b81e87c9f8706f0.tar.bz2
#621008 by seutje: Fixed 'theme path' is wrong for theme process and preprocess overrides.
-rw-r--r--includes/theme.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index e554df296..0bea6fa9a 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -472,6 +472,7 @@ function _theme_process_registry(&$cache, $name, $type, $theme, $path) {
}
if (function_exists($name . '_' . $phase . '_' . $hook)) {
$cache[$hook][$phase_key][] = $name . '_' . $phase . '_' . $hook;
+ $cache[$hook]['theme path'] = $path;
}
// Ensure uniqueness.
$cache[$hook][$phase_key] = array_unique($cache[$hook][$phase_key]);