From b3dae016afd4fc8ef32aad7262b0101398ee27a0 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Mon, 28 Dec 2020 21:38:17 +0100 Subject: [PATCH] fix sticker --- htdocs/core/tpl/massactions_pre.tpl.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/core/tpl/massactions_pre.tpl.php b/htdocs/core/tpl/massactions_pre.tpl.php index f79abfe9c42..7c6ab6deaa5 100644 --- a/htdocs/core/tpl/massactions_pre.tpl.php +++ b/htdocs/core/tpl/massactions_pre.tpl.php @@ -56,14 +56,12 @@ if ($massaction == 'preaffecttag') if (!empty($categ_types)) { foreach ($categ_types as $categ_type) { $cate_arbo = $form->select_all_categories($categ_type['code'], null, 'parent', null, null, 1); - $formquestion[]= - array('type' => 'other', + $formquestion[]=array('type' => 'other', 'name' => 'affecttag_'.$categ_type['code'], 'label' => $langs->trans("Tag").' '.$categ_type['label'], 'value' => $form->multiselectarray('contcats_'.$categ_type['code'], $cate_arbo, GETPOST('contcats_'.$categ_type['code'], 'array'), null, null, null, null, '60%')); } - $formquestion[]= - array('type' => 'other', + $formquestion[]=array('type' => 'other', 'name' => 'affecttag_type', 'label' => '', 'value' => '');