Update: Allow the version to increase only

0.6.9-post-fixes
Melanie 2010-09-02 00:02:07 +01:00
parent d7086a776a
commit 9cde4fa52b
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ namespace OpenSim.Services.InventoryService
if (check.Type != -1 || xFolder.type != -1)
return false;
xFolder.version = check.Version;
if (xFolder.version < check.Version)
xFolder.version = check.Version;
xFolder.folderID = check.ID;
return m_Database.StoreFolder(xFolder);