* Thanks cmickeyb, for a patch that sanity checks if the response from m_Database.GetAsset(assetID) is null in AssetService.cs

This commit is contained in:
John Hurliman
2010-04-27 17:13:54 -07:00
parent 59ac792e44
commit e838776920

View File

@@ -106,7 +106,10 @@ namespace OpenSim.Services.AssetService
return null;
AssetBase asset = m_Database.GetAsset(assetID);
return asset.Metadata;
if (asset != null)
return asset.Metadata;
return null;
}
public byte[] GetData(string id)