[wp-hackers] 0 as meta-data value is not being added to the database.

Kevinjohn Gallagher 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?

Any idea’s?

Thanks very much,
Kev


More information about the wp-hackers mailing list