jonathangeiger / kohana-jelly

See the link below for the most up-to-date code
https://github.com/creatoro/jelly
MIT License
146 stars 34 forks source link

return value of $some_model->has('some_field', array()); #187

Open leth opened 13 years ago

leth commented 13 years ago

Should this be true or false when checking an empty array? (I think it should be true) I've noticed that HasMany and ManyToMany return different values for this, due to how they're checked.