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);

Comments

JulienD’s picture

Status: Needs work » Needs review
StatusFileSize
new928 bytes

Here is the patch to fix it.

rszrama’s picture

Category: bug » task
Priority: Major » Normal
Status: Needs review » Fixed

Good 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

JulienD’s picture

I agree with you, I'm surprised with the category and priority that I've assigned :/ This is definetly not major and even a bug.