Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2011 at 12:36 UTC
Updated:
24 May 2011 at 09:51 UTC
Sometimes it might be necessary to add a variable that has no specific value, e.g. an empty list. The following patch adds a default initialization for lists and makes the value assignment optional. Please test.
| Comment | File | Size | Author |
|---|---|---|---|
| create-empty-list.patch | 864 bytes | klausi |
Comments
Comment #2
fagothanks, I improved the check for lists to make use of the API function + moved the default value assignment to the info alter callback + committed it.