aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r--OpenSim/Grid/InventoryServer/GridInventoryService.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs
index 47e4e9a..cb970ae 100644
--- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs
+++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs
@@ -24,13 +24,10 @@ namespace OpenSim.Grid.InventoryServer
24 { 24 {
25 foreach (InventoryFolderBase folder in folders) 25 foreach (InventoryFolderBase folder in folders)
26 { 26 {
27 if (folder.parentID != LLUUID.Zero) 27 List<InventoryItemBase> items = RequestFolderItems(folder.folderID);
28 if (items != null)
28 { 29 {
29 List<InventoryItemBase> items = RequestFolderItems(folder.folderID); 30 allItems.InsertRange(0, items);
30 if (items != null)
31 {
32 allItems.InsertRange(0, items);
33 }
34 } 31 }
35 } 32 }
36 } 33 }