aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs
index 02d7170..febb0af 100644
--- a/OpenSim/Services/InventoryService/XInventoryService.cs
+++ b/OpenSim/Services/InventoryService/XInventoryService.cs
@@ -311,7 +311,8 @@ namespace OpenSim.Services.InventoryService
311 if (check.Type != -1 || xFolder.type != -1) 311 if (check.Type != -1 || xFolder.type != -1)
312 return false; 312 return false;
313 313
314 xFolder.version = check.Version; 314 if (xFolder.version < check.Version)
315 xFolder.version = check.Version;
315 xFolder.folderID = check.ID; 316 xFolder.folderID = check.ID;
316 317
317 return m_Database.StoreFolder(xFolder); 318 return m_Database.StoreFolder(xFolder);