Fix: [ bug #666 ] Fatal error when sending intervention card

This commit is contained in:
Laurent Destailleur 2013-01-19 15:12:18 +01:00
parent 72dbeadc49
commit ac1cfd3d23

View File

@ -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');
}
}