Convert the enum to int before casting it to string for DB query
parent
2c9ffc2a87
commit
d9a9f6f43b
|
@ -505,7 +505,7 @@ namespace OpenSim.Services.HypergridService
|
|||
// Warp! Root folder for travelers
|
||||
XInventoryFolder[] folders = m_Database.GetFolders(
|
||||
new string[] { "agentID", "type" },
|
||||
new string[] { principalID.ToString(), FolderType.Suitcase.ToString() });
|
||||
new string[] { principalID.ToString(), ((int)FolderType.Suitcase).ToString() });
|
||||
|
||||
if (folders != null && folders.Length > 0)
|
||||
return folders[0];
|
||||
|
|
Loading…
Reference in New Issue