Merge pull request #584 from jfefe/3.3

Fix bug #666 : error when sending intervention card
This commit is contained in:
Laurent Destailleur 2013-01-09 02:23:00 -08:00
commit e31aedbc50

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