diff options
Diffstat (limited to 'OpenSim/Services/InventoryService')
-rw-r--r-- | OpenSim/Services/InventoryService/InventoryService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/InventoryService.cs b/OpenSim/Services/InventoryService/InventoryService.cs index fc54c12..a9ecda4 100644 --- a/OpenSim/Services/InventoryService/InventoryService.cs +++ b/OpenSim/Services/InventoryService/InventoryService.cs | |||
@@ -284,12 +284,13 @@ namespace OpenSim.Services.InventoryService | |||
284 | Dictionary<AssetType, InventoryFolderBase> folders = new Dictionary<AssetType, InventoryFolderBase>(); | 284 | Dictionary<AssetType, InventoryFolderBase> folders = new Dictionary<AssetType, InventoryFolderBase>(); |
285 | foreach (InventoryFolderBase folder in content.Folders) | 285 | foreach (InventoryFolderBase folder in content.Folders) |
286 | { | 286 | { |
287 | if (folder.Type != (short)AssetType.Folder) | 287 | if ((folder.Type != (short)AssetType.Folder) && (folder.Type != (short)AssetType.Unknown)) |
288 | folders[(AssetType)folder.Type] = folder; | 288 | folders[(AssetType)folder.Type] = folder; |
289 | } | 289 | } |
290 | return folders; | 290 | return folders; |
291 | } | 291 | } |
292 | } | 292 | } |
293 | m_log.WarnFormat("[INVENTORY SERVICE]: System folders for {0} not found", userID); | ||
293 | return new Dictionary<AssetType, InventoryFolderBase>(); | 294 | return new Dictionary<AssetType, InventoryFolderBase>(); |
294 | } | 295 | } |
295 | 296 | ||