Closed (duplicate)
Project:
Email Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2013 at 19:37 UTC
Updated:
21 May 2013 at 15:05 UTC
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:

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

and from link module:

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.
| Comment | File | Size | Author |
|---|---|---|---|
| email_content_is_empty_devel1.png | 14.31 KB | WorldFallz | |
| email_content_is_empty_devel3.png | 2.41 KB | WorldFallz | |
| email_content_is_empty_devel2.png | 4.25 KB | WorldFallz |
Comments
Comment #1
WorldFallz commentedtraced 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.