diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 87ab3c9ff..ebee7255a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -561,7 +561,7 @@ function _theme_build_registry($theme, $base_theme, $theme_engine) { * - 'base theme': The name of the base theme. */ function list_themes($refresh = FALSE) { - static $list = array(); + $list = &drupal_static(__FUNCTION__, array()); if ($refresh) { $list = array(); |