diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 894b2de73d0..f628b2bd80e 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1282,13 +1282,12 @@ if ($action == 'create') { // Create an array for form $formquestion = array( // 'text' => $langs->trans("ConfirmClone"), - // array('type' => 'checkbox', 'name' => 'update_prices', 'label' => $langs->trans("PuttingPricesUpToDate"), 'value' - // => 1), + // array('type' => 'checkbox', 'name' => 'update_prices', 'label' => $langs->trans("PuttingPricesUpToDate"), 'value' => 1), array( 'type' => 'other', 'name' => 'socid', 'label' => $langs->trans("SelectThirdParty"), - 'value' => $form->select_company(GETPOST('socid', 'int'), 'socid', '', '', 0, 0, null, 0, 'minwidth200') + 'value' => $form->select_company(GETPOST('socid', 'int'), 'socid', '', '', 0, 0, array(), 0, 'minwidth200') ), array( 'type' => 'checkbox',