@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 Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.