summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system.module2
-rw-r--r--modules/system/system.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system.module b/modules/system.module
index 0907596d9..86febb4d5 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -131,7 +131,7 @@ function system_view_module($name) {
}
function system_view_theme($name) {
- $themes = $theme_list();
+ $themes = theme_list();
$theme = $themes[$name];
if ($theme) {
include_once "$theme->filename";
diff --git a/modules/system/system.module b/modules/system/system.module
index 0907596d9..86febb4d5 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -131,7 +131,7 @@ function system_view_module($name) {
}
function system_view_theme($name) {
- $themes = $theme_list();
+ $themes = theme_list();
$theme = $themes[$name];
if ($theme) {
include_once "$theme->filename";