Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
After 1 day of work, finally I found a bug in rules integration which causes any field value evaluation fail if PHP code is used instead of a fixed value. Function "content_rules_field_has_value" lacks of two extra arguments for condition element and state (last even used in function body). Patch attached, pls, review.
Comment | File | Size | Author |
---|---|---|---|
cck-rules-field_has_value-php_eval.patch | 587 bytes | manuel.adan |