From 808cb17eff34a6b2f7c869f886f71769a16cee8e 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) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13997 b9a71923-0436-4b27-9f14-aed3839534dd --- 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:'),