diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 6bcd6b3c75..8547e3fd42 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs @@ -610,7 +610,7 @@ namespace OpenSim.Services.InventoryService else { string u = principalID.ToString(); - string[] fields = new string[] { "agentID", "inventoryID" }; + string[] fields = new string[] { "avatarID", "inventoryID" }; foreach (UUID id in itemIDs) m_Database.DeleteItems( fields, @@ -698,7 +698,7 @@ namespace OpenSim.Services.InventoryService else { folders = m_Database.GetFolders( - new string[] { "avatarID", "folderID" }, + new string[] { "agentID", "folderID" }, new string[] { principalID.ToString(), folderID.ToString() }); }