From 2e7ba3cc5ebfe29bc5beaee9f8c774c42bfca6e2 Mon Sep 17 00:00:00 2001 From: vChabot Date: Fri, 9 Mar 2012 10:34:08 +0000 Subject: [PATCH] [-] BO : BugFix : #PSTEST-1004 : create value for an attribute fix (error js, undefined variable) --- controllers/admin/AdminAttributesGroupsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index 1fa6e9400..82e0d3dc4 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -302,6 +302,7 @@ class AdminAttributesGroupsControllerCore extends AdminController ); } + $this->fields_form['shop_associations'] = Tools::jsonEncode(array()); $this->fields_form['input'][] = array( 'type' => 'color', 'label' => $this->l('Color:'),