aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Inventory
diff options
context:
space:
mode:
authorMelanie2010-11-23 00:31:09 +0100
committerMelanie2010-11-23 00:31:09 +0100
commit4a54b3318b202d75bde2f1fcde3e80114df91d2e (patch)
treee52eb829390eaf59c2f231d4864621aacb53a8af /OpenSim/Server/Handlers/Inventory
parentFix some crashes caused by the addition of the CreatorData column (diff)
downloadopensim-SC-4a54b3318b202d75bde2f1fcde3e80114df91d2e.zip
opensim-SC-4a54b3318b202d75bde2f1fcde3e80114df91d2e.tar.gz
opensim-SC-4a54b3318b202d75bde2f1fcde3e80114df91d2e.tar.bz2
opensim-SC-4a54b3318b202d75bde2f1fcde3e80114df91d2e.tar.xz
Fix more potential nullrefs
Diffstat (limited to 'OpenSim/Server/Handlers/Inventory')
-rw-r--r--OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
index 456b6fc..ce72c78 100644
--- a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
+++ b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs
@@ -601,8 +601,10 @@ namespace OpenSim.Server.Handlers.Asset
601 ret["AssetType"] = item.AssetType.ToString(); 601 ret["AssetType"] = item.AssetType.ToString();
602 ret["BasePermissions"] = item.BasePermissions.ToString(); 602 ret["BasePermissions"] = item.BasePermissions.ToString();
603 ret["CreationDate"] = item.CreationDate.ToString(); 603 ret["CreationDate"] = item.CreationDate.ToString();
604 ret["CreatorId"] = item.CreatorId.ToString(); 604 if (item.CreatorId != null)
605 ret["CreatorData"] = item.CreatorData.ToString(); 605 ret["CreatorId"] = item.CreatorId.ToString();
606 else
607 ret["CreatorId"] = String.Empty;
606 ret["CurrentPermissions"] = item.CurrentPermissions.ToString(); 608 ret["CurrentPermissions"] = item.CurrentPermissions.ToString();
607 ret["Description"] = item.Description.ToString(); 609 ret["Description"] = item.Description.ToString();
608 ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString(); 610 ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString();