// Merge -> revision 8076

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8081 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-08-17 08:15:38 +00:00
parent e86d668a49
commit 2b05b5308c
22 changed files with 100 additions and 46 deletions
+1 -2
View File
@@ -75,8 +75,7 @@ class AdminAddresses extends AdminTab
{
if (Validate::isEmail(Tools::getValue('email')))
{
$customer = new Customer;
$customer = $customer->getByemail(Tools::getValue('email'));
$customer = new Customer(Tools::getValue('id_customer'));
if (Validate::isLoadedObject($customer))
$_POST['id_customer'] = $customer->id;
else