aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-05-06 19:14:11 +0000
committerrvelices <rv-github@modusoptimus.com>2014-05-06 19:14:11 +0000
commit748ede398899e99a89b935580d864526226054d0 (patch)
treedfc53dffd4ec1ca357a1a34bb30e9dbd18e648b7
parente0e6b69b2756587914e0b59f77fcf7ac81c55cab (diff)
bug 3056: quick search - fix variable name
git-svn-id: http://piwigo.org/svn/trunk@28383 68402e56-0260-453c-a942-63ccdbb3a9ee
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)
{