Skip to content

Commit

Permalink
Fix typo: docvar_filters => function_filters
Browse files Browse the repository at this point in the history
  • Loading branch information
loniszczuk committed Sep 4, 2011
1 parent 065b11b commit 682ce63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indextank/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ private function as_search_param( $query, $start = NULL, $len = NULL, $scoring_f
if ($function_filters) {
// $function_filters is something like
// { 2 => [ (1, 4), (7, NULL) ]} to filter_function2 => 1:4,7:*
foreach ($docvar_filters as $k => $v) {
foreach ($function_filters as $k => $v) {
$params["filter_function" . strval($k)] = implode(array_map('indextank_map_range', $v), ",");
}
}
Expand Down

0 comments on commit 682ce63

Please sign in to comment.