aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-02-24 12:24:58 +0000
committerrvelices <rv-github@modusoptimus.com>2013-02-24 12:24:58 +0000
commitb47c2a680ede88b7f654d819987091d190fb9603 (patch)
treec41b02e21b2814dd3306235582435e546c54b714
parent0e62a024685fc06851f26d243ce84d7322aa991d (diff)
bug 2846: pwg.images.search sql error when called with f_* parameters
git-svn-id: http://piwigo.org/svn/trunk@20999 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 199175bb7..7a27b8ba0 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1277,7 +1277,7 @@ function ws_images_search($params, &$service)
$search_result = get_quick_search_results($params['query'],
$super_order_by,
- implode(',', $where_clauses)
+ implode(' AND ', $where_clauses)
);
$image_ids = array_slice(