From d9a9f6f43b0aa0ec9f20097251b33e43d31d2af5 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 8 Aug 2015 13:47:42 -0700 Subject: Convert the enum to int before casting it to string for DB query --- OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Services/HypergridService') diff --git a/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs b/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs index 319c2db..40eb6d4 100644 --- a/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs +++ b/OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs @@ -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]; -- cgit v1.1