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.

Support from Acquia helps fund testing for Drupal Acquia logo