Index: rules/rules.install =================================================================== --- rules/rules.install (revision 44) +++ rules/rules.install (working copy) @@ -1,12 +1,11 @@ 'rule'); $name = _rules_import_replace_module_name($name); foreach (array('#altered', '#active', '#weight') as $key) { @@ -226,6 +230,7 @@ * Applies the function $function to all elements. Aborts if FALSE is returned. */ function rules_helper_do_recursive($function, &$elements) { + drupal_load('module', 'rules'); if ($function($elements) === FALSE) { return FALSE; }