Fix bug #666 : error when sending intervention card

This commit is contained in:
jfefe 2013-01-09 06:30:27 +01:00
parent 64d2a662de
commit 1a3cecfae5

View File

@ -653,7 +653,7 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA
} }
else // Id du contact 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'); $sendtoid = GETPOST('receiver','alpha');
} }
} }