The commerce_cart_add_to_cart_form_id() function has been changed (http://drupalcode.org/project/commerce.git/commit/0ee0b3b) and takes now only one parameter. Nevertheless, a call to this function is still done with two parameters in commerce_cart_handler_field_add_to_cart_form.inc file.
$form_id = commerce_cart_add_to_cart_form_id($product_ids, $default_quantity);
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | commerce_cart-removed_unused_parameter_from_commerce_cart_add_to_cart_form_id-2059549-1.patch | 928 bytes | JulienD |
Comments
Comment #1
JulienD commentedHere is the patch to fix it.
Comment #2
rszrama commentedGood find. Fixed it, but resetting the category / priority - a bit of clean-up like this isn't really a big deal and wasn't affecting any functionality as far as I can tell.
Comment #4
JulienD commentedI agree with you, I'm surprised with the category and priority that I've assigned :/ This is definetly not major and even a bug.