From 08a0f9fd3bc8ffb907ffb380055f9c5b5cf8ab8f Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Thu, 4 Jul 2024 11:29:26 +0530 Subject: [PATCH] Removed non required code --- controllers/admin/AdminCustomersController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/admin/AdminCustomersController.php b/controllers/admin/AdminCustomersController.php index 93fc9ed6b..008ef64c6 100644 --- a/controllers/admin/AdminCustomersController.php +++ b/controllers/admin/AdminCustomersController.php @@ -1077,7 +1077,6 @@ class AdminCustomersControllerCore extends AdminController $customer->getByEmail($customer_email); } else { $this->errors[] = Tools::displayError('Invalid email address.'); - $this->display = 'edit'; } if (($customer->id) && ($customer->id != (int)$this->object->id)) {