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?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | commerce-batch_precalculate_price_language-1739600-4.patch | 1.78 KB | andyf |
| #3 | commerce-batch_precalculate_price_language-1739600-3.patch | 1.75 KB | andyf |
| #1 | commerce-batch_precalculate_price_language-1739600-1.patch | 886 bytes | andyf |
Comments
Comment #1
andyf commentedThanks
Comment #2
rszrama commentedI think what you have is correct, but we'll need an update function before we can commit this.
Comment #3
andyf commentedThanks, hope this is ok. I wasn't sure if the hook_update should return a message?
Comment #4
andyf commentedOops, used the wrong table name in the comment.
Comment #5
rszrama commentedThanks, Andy. Committed just now. : )