aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorDiva Canto2015-08-08 13:47:42 -0700
committerDiva Canto2015-08-08 13:47:42 -0700
commitd9a9f6f43b0aa0ec9f20097251b33e43d31d2af5 (patch)
treed7d05c7032b1ddce1bdef89a3fd0c2878ec68449 /OpenSim/Services
parentFixed failing test (diff)
downloadopensim-SC_OLD-d9a9f6f43b0aa0ec9f20097251b33e43d31d2af5.zip
opensim-SC_OLD-d9a9f6f43b0aa0ec9f20097251b33e43d31d2af5.tar.gz
opensim-SC_OLD-d9a9f6f43b0aa0ec9f20097251b33e43d31d2af5.tar.bz2
opensim-SC_OLD-d9a9f6f43b0aa0ec9f20097251b33e43d31d2af5.tar.xz
Convert the enum to int before casting it to string for DB query
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/HypergridService/HGSuitcaseInventoryService.cs2
1 files changed, 1 insertions, 1 deletions
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
505 // Warp! Root folder for travelers 505 // Warp! Root folder for travelers
506 XInventoryFolder[] folders = m_Database.GetFolders( 506 XInventoryFolder[] folders = m_Database.GetFolders(
507 new string[] { "agentID", "type" }, 507 new string[] { "agentID", "type" },
508 new string[] { principalID.ToString(), FolderType.Suitcase.ToString() }); 508 new string[] { principalID.ToString(), ((int)FolderType.Suitcase).ToString() });
509 509
510 if (folders != null && folders.Length > 0) 510 if (folders != null && folders.Length > 0)
511 return folders[0]; 511 return folders[0];