aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_search.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php
index dc5ad92d0..1aba9b961 100644
--- a/include/functions_search.inc.php
+++ b/include/functions_search.inc.php
@@ -1180,7 +1180,7 @@ function get_quick_search_results($q, $options)
$where_clauses[]='i.id IN ('. implode(',', $ids) . ')';
if (!empty($options['images_where']))
{
- $where_clauses[]='('.$images_where.')';
+ $where_clauses[]='('.$options['images_where'].')';
}
if ($permissions)
{