[-] Fix #PSCFV-9038 carrier warehouse association after carrier edition
This commit is contained in:
1 parent
dbe26e0a1d
commit
6ed713e847
1 file changed
+1
-2
+1
-2
@@ -852,8 +852,7 @@ class CarrierCore extends ObjectModel
|
|||||||
(SELECT '.(int)$this->id.', `id_tax_rules_group`, `id_shop`
|
(SELECT '.(int)$this->id.', `id_tax_rules_group`, `id_shop`
|
||||||
FROM `'._DB_PREFIX_.'carrier_tax_rules_group_shop`
|
FROM `'._DB_PREFIX_.'carrier_tax_rules_group_shop`
|
||||||
WHERE `id_carrier`='.(int)$old_id.')');
|
WHERE `id_carrier`='.(int)$old_id.')');
|
||||||
// Update warehouse_carriers
|
|
||||||
Db::getInstance()->execute('UPDATE '._DB_PREFIX_.'warehouse_carrier SET id_carrier='.(int)$this->id.' WHERE id_carrier='.(int)$old_id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user