From b60aad81979c7e6fb5ba46218dee1cd911f980b4 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 30 Oct 2023 13:05:12 +0530 Subject: [PATCH] FIxed: Invalid token issue on Admin customers form page --- controllers/admin/AdminCustomersController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controllers/admin/AdminCustomersController.php b/controllers/admin/AdminCustomersController.php index b7078a0f1..e562496fb 100644 --- a/controllers/admin/AdminCustomersController.php +++ b/controllers/admin/AdminCustomersController.php @@ -630,6 +630,10 @@ class AdminCustomersControllerCore extends AdminController Tools::getValue('groupBox_'.$group['id_group'], in_array($group['id_group'], $customer_groups_ids)); } + if ($back = Tools::getValue('back')) { + $this->tpl_form_vars['back_url'] = Tools::htmlentitiesDecodeUTF8(Tools::safeOutput(urldecode($back))); + } + return parent::renderForm(); }