diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index f6d8eac..4ae4dc3 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | |||
@@ -497,10 +497,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
497 | return ret; | 497 | return ret; |
498 | } | 498 | } |
499 | 499 | ||
500 | InventoryCollection contents = InventoryService.GetFolderContent(agentID, folderID); | 500 | InventoryCollection contents = new InventoryCollection(); |
501 | 501 | ||
502 | if (folderID != UUID.Zero) | 502 | if (folderID != UUID.Zero) |
503 | { | 503 | { |
504 | contents = InventoryService.GetFolderContent(agentID, folderID); | ||
504 | InventoryFolderBase containingFolder = new InventoryFolderBase(); | 505 | InventoryFolderBase containingFolder = new InventoryFolderBase(); |
505 | containingFolder.ID = folderID; | 506 | containingFolder.ID = folderID; |
506 | containingFolder.Owner = agentID; | 507 | containingFolder.Owner = agentID; |