@DbColumn fix to always return an array

@DbColumn might not return what you expect I found out that @DbColumn despite what the documentation says not always return an Array.
If there is only one entry inside the view you will get an string back. This will give you problem if you are using this as the source for an repeat control or somethign else that is expecting an array.

Use this code to fix you problem.


Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz