From e0a445964eae5c8d6e745577a8171394413ab68b Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 30 Dec 2011 14:44:50 +0000 Subject: [PATCH] // Fix strict standard git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11941 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminAttributesGroupsController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index 22cd5b4e2..3a07c5c38 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -475,10 +475,8 @@ class AdminAttributesGroupsControllerCore extends AdminController * @param $token * @return mixed */ - public function processSave() + public function processSave($token) { - $token = Tools::getValue('token') ? Tools::getValue('token') : $this->token; - if ((int)Tools::getValue('id_attribute') <= 0) return $this->processAdd($token); else