diff options
author | Oren Hurvitz | 2012-04-23 18:38:21 +0300 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-24 20:46:31 +0100 |
commit | c70e85a3271aaa9e6d892240964cb55cbc2960c7 (patch) | |
tree | baf7dad35f63f9809c1e0b5cf8b32c755e6d478b /OpenSim/Region | |
parent | OSSL: fixed the threat level check for osParseJSONNew (diff) | |
download | opensim-SC-c70e85a3271aaa9e6d892240964cb55cbc2960c7.zip opensim-SC-c70e85a3271aaa9e6d892240964cb55cbc2960c7.tar.gz opensim-SC-c70e85a3271aaa9e6d892240964cb55cbc2960c7.tar.bz2 opensim-SC-c70e85a3271aaa9e6d892240964cb55cbc2960c7.tar.xz |
When reading a region, use null objects to represent NULL fields.
Previously NULL fields were converted to an empty string due to the use of ToString(). But if the field was an Int (e.g., "locZ"), then the subsequent attempt to convert an empty string to an int caused an exception. Now the field is null so we don't try to convert it, so there's no exception.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions