When setting a field to required in a Fuel Model, if the value is 0 (which I need to allow for as the field in question is a stock level field) then the field fails validation when it should actually pass as there is a value. Maybe there some Truthy thing going off here?
I've tried to find where in core/MY_model but have had no luck so far...
Comments
https://github.com/daylightstudio/FUEL-CMS/commit/c3eab9897730971a4818cb5e9f1486f1c6e5858b