Index: content_views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cck/content_views.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 content_views.inc
--- content_views.inc	21 Aug 2006 03:06:45 -0000	1.1.2.4
+++ content_views.inc	3 Sep 2006 12:04:23 -0000
@@ -21,10 +21,11 @@
     $module = $field_types[$field['type']]['module'];
     
     $formatters = array();
-    foreach ($field_types[$field['type']]['formatters'] as $name => $info) {
-      $formatters[$name] = t($info['label']);
+    if (is_array($field_types[$field['type']]['formatters'])) {
+      foreach ($field_types[$field['type']]['formatters'] as $name => $info) {
+        $formatters[$name] = t($info['label']);
+      }
     }
-
     if (count($db_info['columns'])) {
       $table = array();
 
