fix sticker
This commit is contained in:
parent
1e438b686e
commit
b3dae016af
@ -56,14 +56,12 @@ if ($massaction == 'preaffecttag')
|
|||||||
if (!empty($categ_types)) {
|
if (!empty($categ_types)) {
|
||||||
foreach ($categ_types as $categ_type) {
|
foreach ($categ_types as $categ_type) {
|
||||||
$cate_arbo = $form->select_all_categories($categ_type['code'], null, 'parent', null, null, 1);
|
$cate_arbo = $form->select_all_categories($categ_type['code'], null, 'parent', null, null, 1);
|
||||||
$formquestion[]=
|
$formquestion[]=array('type' => 'other',
|
||||||
array('type' => 'other',
|
|
||||||
'name' => 'affecttag_'.$categ_type['code'],
|
'name' => 'affecttag_'.$categ_type['code'],
|
||||||
'label' => $langs->trans("Tag").' '.$categ_type['label'],
|
'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%'));
|
'value' => $form->multiselectarray('contcats_'.$categ_type['code'], $cate_arbo, GETPOST('contcats_'.$categ_type['code'], 'array'), null, null, null, null, '60%'));
|
||||||
}
|
}
|
||||||
$formquestion[]=
|
$formquestion[]=array('type' => 'other',
|
||||||
array('type' => 'other',
|
|
||||||
'name' => 'affecttag_type',
|
'name' => 'affecttag_type',
|
||||||
'label' => '',
|
'label' => '',
|
||||||
'value' => '<input type="hidden" name="affecttag_type" id="affecttag_type" value="'.implode(",", array_keys($categ_types)).'"/>');
|
'value' => '<input type="hidden" name="affecttag_type" id="affecttag_type" value="'.implode(",", array_keys($categ_types)).'"/>');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user