diff options
author | Brion Vibber <brion@pobox.com> | 2009-11-18 17:36:55 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-11-18 17:36:55 -0800 |
commit | f7a3e508ba8d0f8f9487724f3e417554d1d0b4d8 (patch) | |
tree | ae8ca094cb5c5d462bd857b84e2163ef3b2e870c /lib/servererroraction.php | |
parent | 69abde6e0cde3f010d993f0a86294fe57154aa4c (diff) |
Check profile->update() result against false exactly; we may legitimately get 0 back if no rows were changed. DB objects normally would return true, but the comparisons aren't 100% reliable when we've got numbers which could be ints or strings or floats.
Caused failures saving profile settings with Geonames plugin enabled; the lat/lon/id fields would get re-set with freshly looked up values which no longer matched the previous values as far as the data object could tell, but which saved as the same ol' numbers.
Diffstat (limited to 'lib/servererroraction.php')
0 files changed, 0 insertions, 0 deletions