[0005178] Fixed customer selection via popup after missing inline customer search.
[fa-stable.git] / includes / ui / ui_lists.inc
index 417d6032f4185190797cd0e08423b1b2d42692cc..5ca6a49d4c84da915ff56dcc4c3e8b85b173fcd8 100644 (file)
@@ -150,7 +150,7 @@ $opts = array(              // default options
                                        foreach($opts['search'] as $i=> $s)
                                                $opts['search'][$i] = $s . " LIKE "
                                                        .db_escape(($class=='combo3' ? '' : '%').$txt.'%');
-                                       $opts['where'][] = '('. implode($opts['search'], ' OR ') . ')';
+                                       $opts['where'][] = '('. implode(' OR ', $opts['search']) . ')';
                                }
                }
        }