diff options
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs index 0cea4a1..db3c857 100644 --- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | |||
@@ -406,9 +406,13 @@ namespace OpenSim.Services.Connectors | |||
406 | 406 | ||
407 | public bool AddItem(InventoryItemBase item) | 407 | public bool AddItem(InventoryItemBase item) |
408 | { | 408 | { |
409 | if (item.Description == null) | ||
410 | item.Description = String.Empty; | ||
409 | if (item.CreatorData == null) | 411 | if (item.CreatorData == null) |
410 | item.CreatorData = String.Empty; | 412 | item.CreatorData = String.Empty; |
411 | Dictionary<string,object> ret = MakeRequest("ADDITEM", | 413 | if (item.CreatorId == null) |
414 | item.CreatorId = String.Empty; | ||
415 | Dictionary<string, object> ret = MakeRequest("ADDITEM", | ||
412 | new Dictionary<string,object> { | 416 | new Dictionary<string,object> { |
413 | { "AssetID", item.AssetID.ToString() }, | 417 | { "AssetID", item.AssetID.ToString() }, |
414 | { "AssetType", item.AssetType.ToString() }, | 418 | { "AssetType", item.AssetType.ToString() }, |