Fix no default value for dangerous actions

This commit is contained in:
Laurent Destailleur 2015-08-13 02:52:58 +02:00
parent 460a78e3e5
commit 4a6239f9a7

View File

@ -1859,11 +1859,11 @@ else
'name' => 'soc_origin', 'name' => 'soc_origin',
'label' => $langs->trans('MergeOriginThirdparty'), 'label' => $langs->trans('MergeOriginThirdparty'),
'type' => 'other', 'type' => 'other',
'value' => $form->select_company('', 'soc_origin', 's.rowid != '.$object->id) 'value' => $form->select_company('', 'soc_origin', 's.rowid != '.$object->id, 1, 0, 0, array(), 0, 'minwidth200')
) )
); );
print $form->formconfirm($_SERVER["PHP_SELF"]."?socid=".$object->id, $langs->trans("MergeThirdparties"), $langs->trans("ConfirmMergeThirdparties"), "confirm_merge", $formquestion, 'no', 1); print $form->formconfirm($_SERVER["PHP_SELF"]."?socid=".$object->id, $langs->trans("MergeThirdparties"), $langs->trans("ConfirmMergeThirdparties"), "confirm_merge", $formquestion, 'no', 1, 190);
} }
dol_htmloutput_errors($error,$errors); dol_htmloutput_errors($error,$errors);