Skip to content
Snippets Groups Projects
Commit 1d29a61e authored by Chris Matthews's avatar Chris Matthews
Browse files

Issue #3386185 by mglaman, c_archer: Cast subject to string before passing to SDK

parent d6ca8d24
No related branches found
No related tags found
No related merge requests found
......@@ -269,7 +269,7 @@ class SendGridMail implements MailInterface, ContainerFactoryPluginInterface {
}
$sendgrid_message->addCategories($categories);
$personalization0->setSubject($message['subject']);
$personalization0->setSubject((string) $message['subject']);
$from = new From($data['from'], $data['fromname']);
unset($data);
# Set the from address and add a name if it exists.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment