Commit 07e29435 authored by Pierre-Yves Gosset's avatar Pierre-Yves Gosset

Bugfix quite dirty for issue 24

parent 6666fdd3
......@@ -112,6 +112,7 @@ function webform_confirm_email_mail_alter(&$message) {
'email_message' => $message,
);
$message['send'] = FALSE; // prevents drupal_mail from actually sending the message
unset($obj["email_message"]["params"]["node"]); // https://framagit.org/framasoft/framaforms/issues/24
drupal_write_record('webform_confirm_email_confirmation_emails', $obj);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment