* Correct minor bug where item description bounded string was not actually being used in the previous patches.
parent
b67c1f5086
commit
de893a4a10
|
@ -412,6 +412,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
@inventoryNextPermissions, @inventoryCurrentPermissions, @invType, @creatorID,
|
@inventoryNextPermissions, @inventoryCurrentPermissions, @invType, @creatorID,
|
||||||
@inventoryBasePermissions, @inventoryEveryOnePermissions, @inventoryGroupPermissions, @salePrice, @saleType,
|
@inventoryBasePermissions, @inventoryEveryOnePermissions, @inventoryGroupPermissions, @salePrice, @saleType,
|
||||||
@creationDate, @groupID, @groupOwned, @flags)";
|
@creationDate, @groupID, @groupOwned, @flags)";
|
||||||
|
|
||||||
string itemName = item.Name;
|
string itemName = item.Name;
|
||||||
if (item.Name.Length > 64)
|
if (item.Name.Length > 64)
|
||||||
{
|
{
|
||||||
|
@ -432,7 +433,7 @@ namespace OpenSim.Data.MSSQL
|
||||||
command.Parameters.Add(database.CreateParameter("parentFolderID", item.Folder));
|
command.Parameters.Add(database.CreateParameter("parentFolderID", item.Folder));
|
||||||
command.Parameters.Add(database.CreateParameter("avatarID", item.Owner));
|
command.Parameters.Add(database.CreateParameter("avatarID", item.Owner));
|
||||||
command.Parameters.Add(database.CreateParameter("inventoryName", itemName));
|
command.Parameters.Add(database.CreateParameter("inventoryName", itemName));
|
||||||
command.Parameters.Add(database.CreateParameter("inventoryDescription", item.Description));
|
command.Parameters.Add(database.CreateParameter("inventoryDescription", itemDesc));
|
||||||
command.Parameters.Add(database.CreateParameter("inventoryNextPermissions", item.NextPermissions));
|
command.Parameters.Add(database.CreateParameter("inventoryNextPermissions", item.NextPermissions));
|
||||||
command.Parameters.Add(database.CreateParameter("inventoryCurrentPermissions", item.CurrentPermissions));
|
command.Parameters.Add(database.CreateParameter("inventoryCurrentPermissions", item.CurrentPermissions));
|
||||||
command.Parameters.Add(database.CreateParameter("invType", item.InvType));
|
command.Parameters.Add(database.CreateParameter("invType", item.InvType));
|
||||||
|
|
Loading…
Reference in New Issue