* Fixed the Cable Beach inventory server to save the CreatorID as well as properly handling null item names and descriptions * Fixed the MySQL reader to safely handle null values in string columns that can be null
parent
0ab8dd61d7
commit
e982397cde
|
@ -345,8 +345,8 @@ namespace OpenSim.Data.MySQL
|
|||
item.AssetID = new UUID((string) reader["assetID"]);
|
||||
item.AssetType = (int) reader["assetType"];
|
||||
item.Folder = new UUID((string) reader["parentFolderID"]);
|
||||
item.Name = (string) reader["inventoryName"];
|
||||
item.Description = (string) reader["inventoryDescription"];
|
||||
item.Name = (string)(reader["inventoryName"] ?? String.Empty);
|
||||
item.Description = (string)(reader["inventoryDescription"] ?? String.Empty);
|
||||
item.NextPermissions = (uint) reader["inventoryNextPermissions"];
|
||||
item.CurrentPermissions = (uint) reader["inventoryCurrentPermissions"];
|
||||
item.InvType = (int) reader["invType"];
|
||||
|
|
Loading…
Reference in New Issue