Closed (fixed)
Project:
Ubercart Internationalization
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2011 at 16:00 UTC
Updated:
4 Aug 2011 at 01:49 UTC
I found the code points to a non existing column on the table uc_i18n_orders_products on line 435.
case 'delete':
db_query("DELETE FROM {uc_i18n_orders} WHERE order_id = %d", $arg1->order_id);
foreach ($arg1->products AS $i => $product) {
db_query("DELETE FROM {uc_i18n_order_products} WHERE order_id = %d", $product->order_product_id);
}It should be:
case 'delete':
db_query("DELETE FROM {uc_i18n_orders} WHERE order_id = %d", $arg1->order_id);
foreach ($arg1->products AS $i => $product) {
db_query("DELETE FROM {uc_i18n_order_products} WHERE order_product_id = %d", $product->order_product_id);
}
Comments
Comment #1
splash112 commentedMany thanks!
Fixed, will be in dev in a couple of hours.