Closed (fixed)
Project:
Webform
Version:
6.x-3.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2011 at 14:40 UTC
Updated:
22 Aug 2011 at 19:31 UTC
Jump to comment: Most recent file
In "Webform / E-mails / Edit e-mail" settings admin page (URL: node/[webform-node-id]/webform/emails/1):
if you check no component in the section "Included e-mail values", you get the following error displayed after form submission:
warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/webform/includes/webform.submissions.inc on line 543.
I solved that by checking components, but not using the %email_values token, so that's not an issue for me anymore but I wanted to inform you.
By the way, thanks for all the great work.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_submissions-no-selected-values.diff | 1.08 KB | stacysimpson |
Comments
Comment #1
stacysimpson commentedI ran into the same thing yesterday and threw a quick 'isset' around the faulty block. Not sure if there is a more elegant solution.?.?
Comment #2
quicksketchSweet, thanks for the excellent report and patch. I'll make sure this gets included in the next version.
Comment #3
quicksketchCommitted to 3.x versions. Thanks again!