// Merge -> revision 8076

This commit is contained in:
rMalie
2011-08-17 08:15:38 +00:00
parent 710be54b89
commit cba5631db0
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