In commerce_product_pre_calculate_sell_prices() the language code is set to the empty string if the product doesn't have a language set; I think that should be LANGUAGE_NONE?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AndyF’s picture

Status: Active » Needs review
FileSize
886 bytes

Thanks

rszrama’s picture

Status: Needs review » Needs work

I think what you have is correct, but we'll need an update function before we can commit this.

AndyF’s picture

Status: Needs work » Needs review
FileSize
1.75 KB

Thanks, hope this is ok. I wasn't sure if the hook_update should return a message?

AndyF’s picture

Oops, used the wrong table name in the comment.

rszrama’s picture

Status: Needs review » Fixed

Thanks, Andy. Committed just now. : )

Status: Fixed » Closed (fixed)

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