Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.228 diff -u -r1.228 theme.inc --- includes/theme.inc 31 Mar 2005 21:18:08 -0000 1.228 +++ includes/theme.inc 1 Apr 2005 07:53:03 -0000 @@ -241,8 +241,10 @@ 'toggle_comment_user_picture' => 0, ); - foreach (node_list() as $type) { - $defaults['toggle_node_info_' . $type] = 1; + if (module_exist('node')) { + foreach (node_list() as $type) { + $defaults['toggle_node_info_' . $type] = 1; + } } $settings = array_merge($defaults, variable_get('theme_settings', array()));