Browse files

Fix typo: docvar_filters => function_filters

  • Loading branch information...
1 parent 065b11b commit 682ce6307b7c38fc7f25870174c03b491e34a0e8 @loniszczuk loniszczuk committed Sep 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Indextank/Index.php
View
2 Indextank/Index.php
@@ -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), ",");
}
}

0 comments on commit 682ce63

Please sign in to comment.