mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Convert the enum to int before casting it to string for DB query
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user