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

slimupdates
John Hurliman 2010-04-27 17:13:54 -07:00
parent 59ac792e44
commit e838776920
1 changed files with 4 additions and 1 deletions

View File

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