From 4c704c97c4ad8fb46874e90ea628480e11400a92 Mon Sep 17 00:00:00 2001 From: Gregory Roussac Date: Fri, 15 Mar 2013 09:08:30 -0700 Subject: [PATCH] Merge pull request #325 from DrySs/patch-3 [-] BO: fixed member "customer_id" to "id_customer" for address import in AdminImport --- controllers/admin/AdminImportController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/admin/AdminImportController.php b/controllers/admin/AdminImportController.php index 9b512f529..f8eb332fc 100644 --- a/controllers/admin/AdminImportController.php +++ b/controllers/admin/AdminImportController.php @@ -2053,11 +2053,11 @@ class AdminImportControllerCore extends AdminController Tools::displayError('%1$s does not exist in database %2$s (ID: %3$s) cannot be saved'), Db::getInstance()->getMsgError(), $customer->email, - (int)$address->customer_id + (int)$address->id_customer ); } else - $this->errors[] = sprintf(Tools::displayError('The customer ID n.%d does not exist in the database (ID: %d) cannot be saved'), $address->customer_id); + $this->errors[] = sprintf(Tools::displayError('The customer ID n.%d does not exist in the database (ID: %d) cannot be saved'), $address->id_customer); } else {