CORE-POS / IS4C

Cooperative Operational Retail Environment
http://www.core-pos.com
GNU General Public License v2.0
63 stars 44 forks source link

Avoid writing empty string to integer field, for `products.quantity` #1157

Closed lgedgar closed 2 years ago

lgedgar commented 2 years ago

Small tweak to cut down on warnings.

gohanman commented 2 years ago

I think zero probably makes more sense as a default here, but null shouldn't necessarily cause any issues.

lgedgar commented 2 years ago

Ah well feel free to change it to zero if you'd rather. I won't bother with another PR.