mailer: mailchimp bridge is throwing undefined index _id when setting message id in mandrill http transport
This commit is contained in:
parent
ec781c927a
commit
fa3f901cf8
@ -60,7 +60,7 @@ class MandrillHttpTransport extends AbstractHttpTransport
|
||||
throw new HttpTransportException(sprintf('Unable to send an email (code %s).', $result['code']), $response);
|
||||
}
|
||||
|
||||
$message->setMessageId($result['_id']);
|
||||
$message->setMessageId($result[0]['_id']);
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
Reference in New Issue
Block a user