When invoking a rule set to be executed such as

//...
rules_invoke_rule_set('my_rule_set_machine_name', $arg_1, $arg_2, ..., $arg_n);
//...

If the rule set contains several rules to be sequentially executed, it fails, as only one rule is loaded.

Patch will follow.

Comments

nunoveloso’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new687 bytes

Added a check to see if some rule previously processed already created the ruleset sub-array. Please test/review.

nunoveloso’s picture

StatusFileSize
new812 bytes

Small tweak to #1.

tr’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

Drupal 6 is no longer supported.