[-] BO: Fix #PSCFV-5207 update of some fields on multishop with deleted property

This commit is contained in:
Rémi Gaillard
2012-11-22 19:02:55 +01:00
parent d7f988b264
commit a717e79a07
4 changed files with 75 additions and 23 deletions
+2
View File
@@ -842,6 +842,8 @@ class CarrierCore extends ObjectModel
SET `id_reference` = '.(int)$id_reference.'
WHERE `id_carrier` = '.(int)$this->id);
$this->id_reference = (int)$id_reference;
// Copy tax rules group
Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'carrier_tax_rules_group_shop` (`id_carrier`, `id_tax_rules_group`, `id_shop`)
(SELECT '.(int)$this->id.', `id_tax_rules_group`, `id_shop`