From b47c2a680ede88b7f654d819987091d190fb9603 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 24 Feb 2013 12:24:58 +0000 Subject: 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 --- include/ws_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ws_functions.inc.php') 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( -- cgit v1.2.3