Closed (fixed)
Project:
Webform
Version:
6.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2009 at 16:33 UTC
Updated:
9 Feb 2010 at 07:54 UTC
Whenever I use $nid variable in addition processing php code, the form gone nut. I have to rename the variable to $__nid to make it work.
I suggest we separate the scope of evaluate function to protect variable
Comments
Comment #1
quicksketchThe scope is actually intentionally open so that $form_state and $node variables may be modified. However we're not using $nid any more in the processing so hopefully this will prevent this particular conflict. In the 3.x branch I'm working on moving the additional submit/validate code out of Webform entirely, making this a non-issue.