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