Posted by AndyF on August 19, 2012 at 10:39am
3 followers
| Project: | Drupal Commerce |
| Version: | 7.x-1.x-dev |
| Component: | Product pricing |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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?
Comments
#1
Thanks
#2
I think what you have is correct, but we'll need an update function before we can commit this.
#3
Thanks, hope this is ok. I wasn't sure if the hook_update should return a message?
#4
Oops, used the wrong table name in the comment.
#5
Thanks, Andy. Committed just now. : )
#6
Automatically closed -- issue fixed for 2 weeks with no activity.