Index: mollom.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mollom/mollom.module,v
retrieving revision 1.2.2.172
diff -u -p -r1.2.2.172 mollom.module
--- mollom.module	20 Sep 2010 23:51:30 -0000	1.2.2.172
+++ mollom.module	28 Sep 2010 19:46:47 -0000
@@ -968,6 +968,11 @@ function mollom_form_get_values($form_va
 
   // Process all fields that have been selected for text analysis.
   $post_body = array();
+  if (!is_array($fields)) {
+    // If the form is configured such that no fields are being
+    // protected, $fields is a boolean.
+    $fields = array();
+  }
   foreach ($fields as $field) {
     // Nested elements use a key of 'parent][child', so we need to recurse.
     $parents = explode('][', $field);
