Active
Project:
Webform Rules
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2015 at 07:14 UTC
Updated:
15 Sep 2015 at 22:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
2phaThis is the offending function:
A few problems in this function:
messages being output.
$selected_webform - where does this variable come from?
first if statement checking $submission as if an array, may not always be.
Comment #3
2phaFor some reason, $submission send to this function is sometimes an array, sometimes an object.
Comment #4
2phaHere is what I replaced it with.
Seems to work but I didn't go through it too thoroughly.
No time for a patch sorry.
Comment #5
npacker commentedThanks for looking into this, I'm experiencing the same issue. Here's a patch with the fix.