From df639337af3cff43cfc1a0c4698e651c9a99dc07 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 24 Oct 2013 17:04:26 +0200 Subject: [PATCH] // Code cleaning and small fixes --- .../template/controllers/attributes/helpers/form/form.tpl | 2 +- controllers/admin/AdminAttributesGroupsController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl index 945790b1d..23e2de65b 100644 --- a/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl @@ -27,7 +27,7 @@ {block name="label"} {if $input.type == 'color'} -
+
{/if} {if $input.type == 'closediv'}
diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index 58072ff8d..91f85a521 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -584,7 +584,7 @@ class AdminAttributesGroupsControllerCore extends AdminController protected function setTypeAttribute() { - if (Tools::getValue('updateattribute') || Tools::isSubmit('deleteattribute') || Tools::isSubmit('submitAddattribute') || Tools::isSubmit('submitBulkdeleteattribute')) + if (Tools::isSubmit('updateattribute') || Tools::isSubmit('deleteattribute') || Tools::isSubmit('submitAddattribute') || Tools::isSubmit('submitBulkdeleteattribute')) { $this->table = 'attribute'; $this->className = 'Attribute';