From 6d87094802f51d9c9fa7f164ef04962e92dd5b0f Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 24 Feb 2012 09:14:28 +0000 Subject: [PATCH] // Fix shop association with groups in BO #PSTEST-820 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13585 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminGroupsController.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/controllers/admin/AdminGroupsController.php b/controllers/admin/AdminGroupsController.php index edf96c7af..44c806d39 100644 --- a/controllers/admin/AdminGroupsController.php +++ b/controllers/admin/AdminGroupsController.php @@ -249,6 +249,15 @@ class AdminGroupsControllerCore extends AdminController ) ); + if (Shop::isFeatureActive()) + { + $this->fields_form['input'][] = array( + 'type' => 'group_shop', + 'label' => $this->l('Group Shop association:'), + 'name' => 'checkBoxShopAsso', + ); + } + $this->fields_value['reduction'] = isset($group->reduction) ? $group->reduction : 0; $helper = new Helper();