From caacf80aee8fa7858f4d724d3b81e87c9f8706f0 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 7 Jan 2010 14:48:56 +0000 Subject: #621008 by seutje: Fixed 'theme path' is wrong for theme process and preprocess overrides. --- includes/theme.inc | 1 + 1 file changed, 1 insertion(+) 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]); -- cgit v1.2.3