aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs
index f581f76..f63ab16 100644
--- a/OpenSim/Services/InventoryService/XInventoryService.cs
+++ b/OpenSim/Services/InventoryService/XInventoryService.cs
@@ -542,6 +542,9 @@ namespace OpenSim.Services.InventoryService
542 if (folder.Length < 1) 542 if (folder.Length < 1)
543 return false; 543 return false;
544 544
545 if (folder[0].type == (int)AssetType.TrashFolder)
546 return true;
547
545 UUID parentFolder = folder[0].parentFolderID; 548 UUID parentFolder = folder[0].parentFolderID;
546 549
547 while (parentFolder != UUID.Zero) 550 while (parentFolder != UUID.Zero)