From 963dc77bb7149695c33f817ad69930d8a4b094ab Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Fri, 23 Jun 2006 07:54:00 +0000 Subject: #68170 by xtony and Heine, Use basename not pretty name in theme_get_settings(). --- includes/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index d25d323cb..4c9e26d88 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -245,7 +245,7 @@ function theme_get_settings($key = NULL) { ); if (module_exist('node')) { - foreach (node_get_types() as $type) { + foreach (node_get_types() as $type => $name) { $defaults['toggle_node_info_' . $type] = 1; } } -- cgit v1.2.3