The results from the webform submission being an empty array rather than a stdclass object on save of a draft in the hook_submit function.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | webform_entity-draft_saving-1328538-4.patch | 601 bytes | iztok |
The results from the webform submission being an empty array rather than a stdclass object on save of a draft in the hook_submit function.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | webform_entity-draft_saving-1328538-4.patch | 601 bytes | iztok |
Comments
Comment #1
tizzo commentedCommitted a fix
Comment #3
skylord commentedBTW, as for Webform 4.x $form['#submission'] is 'FALSE' for drafts, so fix is slightly different i.e:
Comment #4
iztok commentedA patch file for the fix
Comment #5
wgallop99 commentedThis worked for me! Thanks for the patch.