Skip to content

use 'Contact' for API lookups, not 'Individual' etc.

JonGold requested to merge JonGold/civirules:convert-entity into master

Found this while troubleshooting something unrelated. This function calls isDateField() which tries doing an API lookup on the $entity. So we should switch it to Contact if it's Individual etc.

Merge request reports

Loading