X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fui%2Fui_lists.inc;h=5ca6a49d4c84da915ff56dcc4c3e8b85b173fcd8;hb=a3616fe8abf36ba9a2ba9ba63689475b1c8978b8;hp=417d6032f4185190797cd0e08423b1b2d42692cc;hpb=fe984d19a32486bb72c6489fab3bd26a2dd3b3f2;p=fa-stable.git diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 417d6032..5ca6a49d 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -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']) . ')'; } } }