I'm having an issue with getting the correct response from email_content_is_empty and during troubleshooting I noticed $item in the function shows what looks like a multivalue array being passed in:

screencap

While other modules I looked at show only a single item from a field:

from userreference module:
screencap3

and from link module:
screencap2

So email_content_is_empty will never be true. I've gone over the code and I can't figure out where things go wrong.

And I suspect this might be the root cause of other issues in the queue, but I'm not sure where else to look.

Any ideas would be greatly appreciated.

Comments

WorldFallz’s picture

Status: Active » Closed (duplicate)

traced it further up-- it actually appears to be a conditional_fields issue: #927558: Use hook_content_is_empty to determine if a required controlled field is empty.