In template_preprocess_webform_form(), the else part dereferences the content of a variable even when it is undefined.
The variable should be checked and a proper default returned.
This happens when you save a new webform that does not yet have any submissions.
Thank you.
Alexis Wilke
| Comment | File | Size | Author |
|---|---|---|---|
| webform-e_notify-6.x.patch | 519 bytes | AlexisWilke |
Comments
Comment #1
quicksketchLooks like this has been fixed in 3.x as part of #277581: Send emails with a custom/templated body (and subject, to addresses and from addresses). 2.x isn't being maintained for the most part, I don't think this minor problem will be fixed.
Comment #2
AlexisWilke commentedThis was a bug report about 2.x-dev though. 8-)
Thank you.
Alexis