Skip to content
Snippets Groups Projects
Commit 5239d532 authored by Brady's avatar Brady
Browse files

Hotfix that causes password resets to crash system. UID is not being handled correctly yet.

parent 6ae167cb
No related branches found
No related tags found
3 merge requests!30Issue #2971991 by amykhailova, code-drupal: "Cc" Recipient not receiving email...,!25Issue #2979620 by Baik Ho: 400 Bad Request - Handle exception returned from...,!10Issue #2848810 by Perignon: Notice: Account for Reply-To being all lower case....
...@@ -189,9 +189,9 @@ class SendGridMail implements MailInterface, ContainerFactoryPluginInterface { ...@@ -189,9 +189,9 @@ class SendGridMail implements MailInterface, ContainerFactoryPluginInterface {
} }
# Add UID metadata to the message that matches the drupal user ID. # Add UID metadata to the message that matches the drupal user ID.
if (isset($message['params']['account']->uid)) { // if (isset($message['params']['account']->uid)) {
$sendgrid_message->addCustomArg("uid", strval($message['params']['account']->uid)); // $sendgrid_message->addCustomArg("uid", strval($message['params']['account']->uid));
} // }
// Checking if 'From' email-address already exists. // Checking if 'From' email-address already exists.
if (isset($message['headers']['From'])) { if (isset($message['headers']['From'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment