summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 0715585bf..5046fc19f 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -232,7 +232,7 @@ function theme_get_settings($key = NULL) {
);
if (module_exist('node')) {
- foreach (node_list() as $type) {
+ foreach (node_get_types() as $type) {
$defaults['toggle_node_info_' . $type] = 1;
}
}