diff options
Diffstat (limited to 'OpenSim/Capabilities/Handlers/FetchInventory')
-rw-r--r-- | OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs index f968fdc..fdbe1f4 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs | |||
@@ -716,6 +716,9 @@ namespace OpenSim.Capabilities.Handlers | |||
716 | InventoryCollection[] linkedFolders = m_InventoryService.GetMultipleFoldersContent(coll.Collection.OwnerID, folderIDs.ToArray()); | 716 | InventoryCollection[] linkedFolders = m_InventoryService.GetMultipleFoldersContent(coll.Collection.OwnerID, folderIDs.ToArray()); |
717 | foreach (InventoryCollection linkedFolderContents in linkedFolders) | 717 | foreach (InventoryCollection linkedFolderContents in linkedFolders) |
718 | { | 718 | { |
719 | if (linkedFolderContents == null) | ||
720 | continue; | ||
721 | |||
719 | List<InventoryItemBase> links = linkedFolderContents.Items; | 722 | List<InventoryItemBase> links = linkedFolderContents.Items; |
720 | 723 | ||
721 | itemsToReturn.InsertRange(0, links); | 724 | itemsToReturn.InsertRange(0, links); |