From 5bd54faab9a8c15c25af082d2f377a1fc369cb31 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Mon, 20 Feb 2012 15:32:11 +0000 Subject: [PATCH] [-] BO : fixed bug #PSFV-501 - Unable to edit a customer in AdminGroups controller git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13469 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminGroupsController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/admin/AdminGroupsController.php b/controllers/admin/AdminGroupsController.php index 900bb4701..269253a12 100644 --- a/controllers/admin/AdminGroupsController.php +++ b/controllers/admin/AdminGroupsController.php @@ -150,9 +150,10 @@ class AdminGroupsControllerCore extends AdminController $customer_list = $group->getCustomers(false); $helper = new HelperList(); - $helper->currentIndex = self::$currentIndex; - $helper->token = $this->token; + $helper->currentIndex = Context::getContext()->link->getAdminLink('AdminCustomers', false); + $helper->token = Tools::getAdminTokenLite('AdminCustomers'); $helper->shopLinkType = ''; + $helper->table = 'customer'; $helper->identifier = 'id_customer'; $helper->actions = array('edit', 'view'); $helper->show_toolbar = false;