From 1a3cecfae5dfead52ed0a8d0c840fc0315370442 Mon Sep 17 00:00:00 2001 From: jfefe Date: Wed, 9 Jan 2013 06:30:27 +0100 Subject: [PATCH] Fix bug #666 : error when sending intervention card --- htdocs/fichinter/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 1f27c594908..1c8eb84b40f 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -653,7 +653,7 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA } else // Id du contact { - $sendto = $object->client->contact_get_email(GETPOST('receiver','alpha')); + $sendto = $object->client->contact_get_property(GETPOST('receiver'),'email'); $sendtoid = GETPOST('receiver','alpha'); } }