diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs index f299b0c..0ced2f9 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |||
@@ -264,6 +264,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
264 | = rawDirsToCreate[i].LastIndexOf( | 264 | = rawDirsToCreate[i].LastIndexOf( |
265 | ArchiveConstants.INVENTORY_NODE_NAME_COMPONENT_SEPARATOR); | 265 | ArchiveConstants.INVENTORY_NODE_NAME_COMPONENT_SEPARATOR); |
266 | 266 | ||
267 | if (identicalNameIdentifierIndex < 0) | ||
268 | { | ||
269 | i++; | ||
270 | continue; | ||
271 | } | ||
267 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); | 272 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); |
268 | 273 | ||
269 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); | 274 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); |