Fix more potential nullrefs
parent
7796b90ebb
commit
45b08a9ce3
|
@ -600,8 +600,10 @@ namespace OpenSim.Server.Handlers.Asset
|
|||
ret["AssetType"] = item.AssetType.ToString();
|
||||
ret["BasePermissions"] = item.BasePermissions.ToString();
|
||||
ret["CreationDate"] = item.CreationDate.ToString();
|
||||
if (item.CreatorId != null)
|
||||
ret["CreatorId"] = item.CreatorId.ToString();
|
||||
ret["CreatorData"] = item.CreatorData.ToString();
|
||||
else
|
||||
ret["CreatorId"] = String.Empty;
|
||||
ret["CurrentPermissions"] = item.CurrentPermissions.ToString();
|
||||
ret["Description"] = item.Description.ToString();
|
||||
ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString();
|
||||
|
|
Loading…
Reference in New Issue