Permalink
Browse files

Fix Categories encoding in search method

  • Loading branch information...
1 parent dfb7d03 commit 065b11b01ecfc4333529ab79b10b85a22ff2350e Leandro Oniszczuk committed Sep 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Indextank/Index.php
View
@@ -395,7 +395,7 @@ private function as_search_param( $query, $start = NULL, $len = NULL, $scoring_f
$params["fetch"] = $fetch_fields;
}
if ($category_filters != NULL) {
- $params["category_filters"] = $category_filters;
+ $params["category_filters"] = json_encode($category_filters);
}
if ($variables) {
foreach ($variables as $k => $v)

0 comments on commit 065b11b

Please sign in to comment.