Skip to content
Snippets Groups Projects
Commit b6674ecb authored by Matt Glaman's avatar Matt Glaman Committed by Ryan Szrama
Browse files

Issue #2399045 follow-up by mglaman: minor tweak to autocomplete return value function arguments.

parent ea785121
No related branches found
Tags 8.x-2.0-beta1
No related merge requests found
......@@ -771,7 +771,7 @@ function commerce_product_autocomplete($entity_type = 'commerce_product', $field
$match = isset($field['widget']['autocomplete_match']) ? $field['widget']['autocomplete_match'] : 'contains';
// Get an array of matching products.
$products = commerce_product_match_products($field, $instance, $tag_last, $match, array(), 10);
$products = commerce_product_match_products($field, $instance, $tag_last, $match, array(), 10, TRUE);
// Loop through the products and convert them into autocomplete output.
foreach ($products as $product_id => $data) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment