[-] FO: Fix #PSCFV-4720
This commit is contained in:
1 parent
b817383487
commit
0421543c72
3 files changed
+3
-1
No files matched your search
@@ -444,7 +444,7 @@ class AdminAddressesControllerCore extends AdminController
|
||||
if (!empty($customer))
|
||||
{
|
||||
$customer = $customer['0'];
|
||||
echo Tools::jsonEncode(array('infos' => pSQL($customer['firstname']).'_'.pSQL($customer['lastname'])));
|
||||
echo Tools::jsonEncode(array('infos' => pSQL($customer['firstname']).'_'.pSQL($customer['lastname']).'_'.pSQL($customer['company'])));
|
||||
}
|
||||
}
|
||||
die;
|
||||
|
||||
@@ -109,6 +109,7 @@ class AddressControllerCore extends FrontController
|
||||
{
|
||||
$_POST['firstname'] = $this->context->customer->firstname;
|
||||
$_POST['lastname'] = $this->context->customer->lastname;
|
||||
$_POST['company'] = $this->context->customer->company;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user