Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2011 at 11:36 UTC
Updated:
1 Mar 2011 at 14:21 UTC
When defining and invoking a Rules component from code, non-parameter variables must be appended to the end of the $variables array, otherwise the order of passed arguments on execution will not match. This patch adds an offset counter for non-parameter variables to track them. Now non-parameter variables can live at any position in $variables.
| Comment | File | Size | Author |
|---|---|---|---|
| rules-non-parameter-offset.patch | 1.46 KB | klausi |
Comments
Comment #1
fagothanks, committed.