diff options
-rw-r--r-- | include/functions_search.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php index b823bcfaa..85cfeee78 100644 --- a/include/functions_search.inc.php +++ b/include/functions_search.inc.php @@ -1258,7 +1258,7 @@ function get_quick_search_results($q, $options) $where_clauses = array(); $where_clauses[]='i.id IN ('. implode(',', $ids) . ')'; - if (!empty($options['images_where')) + if (!empty($options['images_where'])) { $where_clauses[]='('.$images_where.')'; } |