fuel/orm — pull request #195 by iturgeon (2012-12-22 06:05:23+00:00)
Title: eav can get empty values from the database

The ORM will not allow previously defined EAV values to be empty because of a simple boolean evaluation of the values coming from the db.

This became a problem for me when the user could potentially empty an eav value. The orm will throw an OutOfBoundsException (property not found) if the value is empty (or zero).

This is a more accurate test to see if there is an eav value by checking for false explicitly. Which should only be seen when the EAV record does not exist

Signed-off-by: Ian Turgeon