aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLInventoryData.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
index eb90192..f68253a 100644
--- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
@@ -412,6 +412,7 @@ namespace OpenSim.Data.MSSQL
412 @inventoryNextPermissions, @inventoryCurrentPermissions, @invType, @creatorID, 412 @inventoryNextPermissions, @inventoryCurrentPermissions, @invType, @creatorID,
413 @inventoryBasePermissions, @inventoryEveryOnePermissions, @inventoryGroupPermissions, @salePrice, @saleType, 413 @inventoryBasePermissions, @inventoryEveryOnePermissions, @inventoryGroupPermissions, @salePrice, @saleType,
414 @creationDate, @groupID, @groupOwned, @flags)"; 414 @creationDate, @groupID, @groupOwned, @flags)";
415
415 string itemName = item.Name; 416 string itemName = item.Name;
416 if (item.Name.Length > 64) 417 if (item.Name.Length > 64)
417 { 418 {
@@ -432,7 +433,7 @@ namespace OpenSim.Data.MSSQL
432 command.Parameters.Add(database.CreateParameter("parentFolderID", item.Folder)); 433 command.Parameters.Add(database.CreateParameter("parentFolderID", item.Folder));
433 command.Parameters.Add(database.CreateParameter("avatarID", item.Owner)); 434 command.Parameters.Add(database.CreateParameter("avatarID", item.Owner));
434 command.Parameters.Add(database.CreateParameter("inventoryName", itemName)); 435 command.Parameters.Add(database.CreateParameter("inventoryName", itemName));
435 command.Parameters.Add(database.CreateParameter("inventoryDescription", item.Description)); 436 command.Parameters.Add(database.CreateParameter("inventoryDescription", itemDesc));
436 command.Parameters.Add(database.CreateParameter("inventoryNextPermissions", item.NextPermissions)); 437 command.Parameters.Add(database.CreateParameter("inventoryNextPermissions", item.NextPermissions));
437 command.Parameters.Add(database.CreateParameter("inventoryCurrentPermissions", item.CurrentPermissions)); 438 command.Parameters.Add(database.CreateParameter("inventoryCurrentPermissions", item.CurrentPermissions));
438 command.Parameters.Add(database.CreateParameter("invType", item.InvType)); 439 command.Parameters.Add(database.CreateParameter("invType", item.InvType));