[wp-hackers] 0 as meta-data value is not being added to the database.
kevinjohngallagher at hotmail.com
Mon Dec 12 20:14:31 UTC 2011
One of many tonight (sorry folks),
For the life of me I can’t figure this one out, when I try to add or update meta-data where the value is “0” (zero), it’s neither adds or updates it.
If I change the value to anything other than “0” or “ “ it works fine.
We surely don’t think that “0” is the same as no data, do we?
Thanks very much,
More information about the wp-hackers