diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index bd9d225d4e7..5f24f001f35 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -516,8 +516,8 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA } else // Id du contact { - $sendto = $object->client->contact_get_email(GETPOST('receiver','alpha')); - $sendtoid = GETPOST('receiver','alpha'); + $sendto = $object->client->contact_get_property(GETPOST('receiver'),'email'); + $sendtoid = GETPOST('receiver','alpha'); } }