Closed (fixed)
Project:
Rules
Version:
6.x-1.0-beta5
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2009 at 13:35 UTC
Updated:
21 Mar 2009 at 20:50 UTC
hi,
warning: Invalid argument supplied for foreach() in /usr/share/apache2/drupal/sites/all/modules/rules/rules/rules.admin_rule_proxy.inc on line 280.
this warning is thrown if the 'new variables' key is used in hook_action_info().
to reproduce you may:
1.) introduce a rule for some event like "user page has been viewed"
2.) add an action that provides new variables like "load a user account"
3.) save it
=> boom
/markus
Comments
Comment #1
fagothanks, fixed.