Commit fe36611b authored by David Lesieur's avatar David Lesieur

Fixed wrong arguments.

parent a40dafea
......@@ -132,7 +132,7 @@ function cck_facets_create_category($field, $value, $count = NULL, $category_pat
}
if (isset($factories[$field['type']])) {
$factory = $factories[$field['type']];
return $factory($field, $category_path);
return $factory($field, $value, $count, $category_path);
}
else {
// No factory found for the given field type. Use the generic category class.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment