Skip to content

Commit

Permalink
Fix Categories encoding in search method
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro Oniszczuk committed Sep 1, 2011
1 parent dfb7d03 commit 065b11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indextank/Index.php
Expand Up @@ -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)
Expand Down

0 comments on commit 065b11b

Please sign in to comment.