mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
fix 2 bugs caused by nonsense xinventory fieldnames
This commit is contained in:
@@ -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() });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user