Skip to content

Commit 8f1ea3b

Browse files
author
Robin Chalas
committed
Merge branch '5.0'
* 5.0: (47 commits) reset the kernel cache after each test [HttpKernel] Ability to define multiple kernel.reset tags [Routing] Continue supporting single colon in object route loaders [FWBundle] Remove unused parameter [Intl] [Workflow] fixes English grammar typos [Filesystem] [Serializer] fixes English grammar typo mailer: mailchimp bridge is throwing undefined index _id when setting message id in mandrill http transport has_roles should be is_granted in security upgrade file has_roles should be is_granted in upgrade files [HttpClient] Fix early cleanup of pushed HTTP/2 responses skip test on incompatible PHP versions [HttpKernel] Don't cache "not-fresh" state Drop WebServerBundle directory [FrameworkBundle][Cache] Don't deep-merge cache pools configuration [Messenger] Adding exception to amqp transport in case amqp ext is not installed [SecurityBundle] Don't require a user provider for the anonymous listener [DoctrineBridge] Fixed cs in DoctrineType [Monolog Bridge] Fixed accessing static property as non static. Improve Symfony description [Mailer] Add UPGRADE entries about Envelope and MessageEvent ...
2 parents 6aeca5a + bd86816 commit 8f1ea3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Mailchimp/Transport/MandrillHttpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function doSendHttp(SentMessage $message): ResponseInterface
6060
throw new HttpTransportException(sprintf('Unable to send an email (code %s).', $result['code']), $response);
6161
}
6262

63-
$message->setMessageId($result['_id']);
63+
$message->setMessageId($result[0]['_id']);
6464

6565
return $response;
6666
}

MandrillHttpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function doSendHttp(SentMessage $message): ResponseInterface
6060
throw new HttpTransportException(sprintf('Unable to send an email (code %s).', $result['code']), $response);
6161
}
6262

63-
$message->setMessageId($result['_id']);
63+
$message->setMessageId($result[0]['_id']);
6464

6565
return $response;
6666
}

0 commit comments

Comments
 (0)