aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/ConfigSettings.cs
diff options
context:
space:
mode:
authorOren Hurvitz2012-04-23 18:38:21 +0300
committerJustin Clark-Casey (justincc)2012-04-24 20:46:31 +0100
commitc70e85a3271aaa9e6d892240964cb55cbc2960c7 (patch)
treebaf7dad35f63f9809c1e0b5cf8b32c755e6d478b /OpenSim/Framework/ConfigSettings.cs
parentOSSL: fixed the threat level check for osParseJSONNew (diff)
downloadopensim-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 'OpenSim/Framework/ConfigSettings.cs')
0 files changed, 0 insertions, 0 deletions