diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index d1ac49813f7..a2c2acdd9a7 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1185,7 +1185,7 @@ else print ''.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).''; print ''; $selected=GETPOST('client', 'int')!=''?GETPOST('client', 'int'):$object->client; - print $formcompany->selectProspectCustomerType($selected,'client'); + print $formcompany->selectProspectCustomerType($selected); print ''; print ''.$form->editfieldkey('CustomerCode', 'customer_code', '', $object, 0).''; @@ -1772,7 +1772,7 @@ else // Prospect/Customer print ''.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).''; print ''; - print $formcompany->selectProspectCustomerType($object->client,'client'); + print $formcompany->selectProspectCustomerType($object->client); print ''; print ''.$form->editfieldkey('CustomerCode', 'customer_code', '', $object, 0).'';