diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 723e7d86c..94c4dca39 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -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');