I tried that $casts protected array, but the toArray() outcome is the same...
i tested it.. so if you echo you get 1 or 0 but if you var_dump you get true/false.. not sure :s
you could also try getFieldAttribute() and return True/False.. but seems a bit of a hack?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us