diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLInventoryData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs index f53d9f9..09d4710 100644 --- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs +++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs | |||
@@ -370,7 +370,7 @@ namespace OpenSim.Data.MSSQL | |||
370 | try | 370 | try |
371 | { | 371 | { |
372 | InventoryFolderBase folder = new InventoryFolderBase(); | 372 | InventoryFolderBase folder = new InventoryFolderBase(); |
373 | folder.AgentID = new LLUUID((string) reader["agentID"]); | 373 | folder.Owner = new LLUUID((string) reader["agentID"]); |
374 | folder.ParentID = new LLUUID((string) reader["parentFolderID"]); | 374 | folder.ParentID = new LLUUID((string) reader["parentFolderID"]); |
375 | folder.ID = new LLUUID((string) reader["folderID"]); | 375 | folder.ID = new LLUUID((string) reader["folderID"]); |
376 | folder.Name = (string) reader["folderName"]; | 376 | folder.Name = (string) reader["folderName"]; |
@@ -558,7 +558,7 @@ namespace OpenSim.Data.MSSQL | |||
558 | 558 | ||
559 | Dictionary<string, string> param = new Dictionary<string, string>(); | 559 | Dictionary<string, string> param = new Dictionary<string, string>(); |
560 | param["folderID"] = folder.ID.ToString(); | 560 | param["folderID"] = folder.ID.ToString(); |
561 | param["agentID"] = folder.AgentID.ToString(); | 561 | param["agentID"] = folder.Owner.ToString(); |
562 | param["parentFolderID"] = folder.ParentID.ToString(); | 562 | param["parentFolderID"] = folder.ParentID.ToString(); |
563 | param["folderName"] = folder.Name; | 563 | param["folderName"] = folder.Name; |
564 | param["type"] = Convert.ToString(folder.Type); | 564 | param["type"] = Convert.ToString(folder.Type); |
@@ -590,7 +590,7 @@ namespace OpenSim.Data.MSSQL | |||
590 | "version = @version where " + | 590 | "version = @version where " + |
591 | "folderID = @keyFolderID;", database.getConnection()); | 591 | "folderID = @keyFolderID;", database.getConnection()); |
592 | SqlParameter param1 = new SqlParameter("@folderID", folder.ID.ToString()); | 592 | SqlParameter param1 = new SqlParameter("@folderID", folder.ID.ToString()); |
593 | SqlParameter param2 = new SqlParameter("@agentID", folder.AgentID.ToString()); | 593 | SqlParameter param2 = new SqlParameter("@agentID", folder.Owner.ToString()); |
594 | SqlParameter param3 = new SqlParameter("@parentFolderID", folder.ParentID.ToString()); | 594 | SqlParameter param3 = new SqlParameter("@parentFolderID", folder.ParentID.ToString()); |
595 | SqlParameter param4 = new SqlParameter("@folderName", folder.Name); | 595 | SqlParameter param4 = new SqlParameter("@folderName", folder.Name); |
596 | SqlParameter param5 = new SqlParameter("@type", folder.Type); | 596 | SqlParameter param5 = new SqlParameter("@type", folder.Type); |