diff options
Diffstat (limited to 'OpenSim')
-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 b778389..304c081 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |||
@@ -258,6 +258,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
258 | = rawDirsToCreate[i].LastIndexOf( | 258 | = rawDirsToCreate[i].LastIndexOf( |
259 | ArchiveConstants.INVENTORY_NODE_NAME_COMPONENT_SEPARATOR); | 259 | ArchiveConstants.INVENTORY_NODE_NAME_COMPONENT_SEPARATOR); |
260 | 260 | ||
261 | if (identicalNameIdentifierIndex < 0) | ||
262 | { | ||
263 | i++; | ||
264 | continue; | ||
265 | } | ||
261 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); | 266 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); |
262 | 267 | ||
263 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); | 268 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); |