From 78d4c09459af8e50174429b36182c3276230ded3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 28 May 2010 18:18:50 +0000 Subject: - Patch #808030 by dhthwy: new themes are not detected when visiting themes setting page without first clearing the cache manually. --- modules/system/system.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.admin.inc') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 524b3e6b4..5ec6d5f42 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -200,7 +200,7 @@ function system_settings_overview() { */ function system_themes_page() { // Get current list of themes. - $themes = list_themes(); + $themes = system_rebuild_theme_data(); uasort($themes, 'system_sort_modules_by_info_name'); $theme_default = variable_get('theme_default', 'garland'); -- cgit v1.2.3