Fix account creation on checkout page
This commit is contained in:
@@ -619,7 +619,7 @@ class AuthControllerCore extends FrontController
|
||||
$customer->active = 1;
|
||||
// New Guest customer
|
||||
if (Tools::isSubmit('is_new_customer')) {
|
||||
if ($idCustomer) {
|
||||
if (isset($idCustomer) && $idCustomer) {
|
||||
// update guest customer details
|
||||
$customer = new Customer($idCustomer);
|
||||
$customer->firstname = Tools::getValue('firstname');
|
||||
|
||||
Reference in New Issue
Block a user