# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: contributions/modules/apachesolr/apachesolr.module
--- contributions/modules/apachesolr/apachesolr.module Base (1.1.2.12.2.155.2.33)
+++ contributions/modules/apachesolr/apachesolr.module Locally Modified (Based On 1.1.2.12.2.155.2.33)
@@ -1200,11 +1200,13 @@
   // Add array of fq parameters.
   if ($query && ($fq = $query->get_fq())) {
     foreach ($fq as $delta => $values) {
+      if (is_array($values) || is_object($values)) {
       foreach ($values as $value) {
         $params['fq'][$delta][] = $value;
       }
     }
   }
+  }
   // Add sort if present.
   if ($query) {
     $sort = $query->get_solrsort();
