creatoro / jelly

A flexible ORM for Kohana 3.1+
http://jelly.jonathan-geiger.com
MIT License
72 stars 13 forks source link

Enum won't select the default value if NULLs aren't allowed, but NULL is supplied #66

Closed creatoro closed 13 years ago

creatoro commented 13 years ago

Enum will select the default value if an empty string is given (because the empty string won't be considered as a changed value, so the default is used), but it won't if NULL is supplied and NULLs aren't allowed.

Some notes on this: