aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(