Don't save shipping number in dropshipping

This commit is contained in:
Michael RICOIS 2018-01-31 12:05:57 +01:00
parent 70afb97e26
commit 9cadd3e8af
2 changed files with 18 additions and 17 deletions

View File

@ -293,6 +293,8 @@ class AdminAntDropshippingtracking extends AdminTab
$history->id_employee = 0; $history->id_employee = 0;
$history->add(); $history->add();
if ($infosTrackingEnable == 1) {
Db::getInstance()->ExecuteS(' Db::getInstance()->ExecuteS('
INSERT INTO `'._DB_PREFIX_.'shipping_history` INSERT INTO `'._DB_PREFIX_.'shipping_history`
VALUES ( VALUES (
@ -304,7 +306,6 @@ class AdminAntDropshippingtracking extends AdminTab
) )
'); ');
if ($infosTrackingEnable) {
global $_LANGMAIL; global $_LANGMAIL;
$subject = 'Package in transit'; $subject = 'Package in transit';
$customer = new Customer((int) $order->id_customer); $customer = new Customer((int) $order->id_customer);