? cck_empty_fields.patch
? cck_exclude_from_content-300368-4.patch
Index: content.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cck/content.module,v
retrieving revision 1.301.2.70
diff -u -p -r1.301.2.70 content.module
--- content.module	9 Oct 2008 00:24:49 -0000	1.301.2.70
+++ content.module	9 Oct 2008 14:05:45 -0000
@@ -1209,7 +1209,7 @@ function _content_field_invoke_default($
   if (in_array($op, array('load', 'insert', 'update', 'delete', 'delete revision'))) {
     return content_storage($op, $node);
   }
-  else {
+  else if (!empty($type['fields'])) {
     foreach ($type['fields'] as $field) {
       $items = isset($node->$field['field_name']) ? $node->$field['field_name'] : array();
       $result = content_field($op, $node, $field, $items, $teaser, $page);
@@ -2307,4 +2307,4 @@ function content_inactive_fields($type_n
     return $inactive[$type_name];
   }
   return $inactive;
-}
\ No newline at end of file
+}
