Fix more potential nullrefs

avinationmerge
Melanie 2010-11-23 00:31:09 +01:00
parent 7796b90ebb
commit 45b08a9ce3
1 changed files with 4 additions and 2 deletions

View File

@ -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();