This commit is contained in:
Michael RICOIS 2017-12-21 12:07:40 +01:00
parent e200eb6c6f
commit ab11871b99

View File

@ -135,8 +135,6 @@ class AdminAddresses extends AdminTab
$this->_errors[] = Tools::displayError('Your zip/postal code is incorrect.');
}
/**
* If this address come from order's edition and is the same as the other one
* (invoice or delivery one)
@ -188,7 +186,7 @@ class AdminAddresses extends AdminTab
');
if ($socol) {
// Get address
$delivery = new Address($_POST['id_address']);
$delivery = new Address($object->id);
// Update So Colissimo Address - for printing label
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'socolissimo_delivery_info` SET
prname = "'.$delivery->lastname.'",