summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-06-23 07:54:00 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-06-23 07:54:00 +0000
commit963dc77bb7149695c33f817ad69930d8a4b094ab (patch)
tree21fc67aa3b6716f9e478a5bf6605a54570e9754a
parent899123af50772879f5bc3d9736c79ef46f78cdc4 (diff)
downloadbrdo-963dc77bb7149695c33f817ad69930d8a4b094ab.tar.gz
brdo-963dc77bb7149695c33f817ad69930d8a4b094ab.tar.bz2
#68170 by xtony and Heine, Use basename not pretty name in theme_get_settings().
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
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;
}
}