fix mailjet sync

This commit is contained in:
Srv Privilege de marque 2017-08-02 10:57:59 +02:00
parent 2df8a54ba9
commit ed3db565e6

View File

@ -521,7 +521,7 @@ class Mailjet_Sync extends Module
"fai" => $email,
"group" => $isPro ? 'Pro' : 'Particulier',
"date_inscription" => date('Y-m-d\TH:i:s\Z',strtotime($customer->date_add)),
"ref_inscription" => (int)strtotime($customer->date_add),
"ref_inscr" => (int)strtotime($customer->date_add),
"id" => $customer->id,
)
)
@ -555,6 +555,7 @@ class Mailjet_Sync extends Module
)
);
$mj = $this->getClient();
if ($mj->addDetailedContactToList($contacts, $lists)) {
return true;
} else {