From 748ede398899e99a89b935580d864526226054d0 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 6 May 2014 19:14:11 +0000 Subject: bug 3056: quick search - fix variable name git-svn-id: http://piwigo.org/svn/trunk@28383 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_search.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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) { -- cgit v1.2.3