* Thanks cmickeyb, for a patch that sanity checks if the response from m_Database.GetAsset(assetID) is null in AssetService.cs
parent
59ac792e44
commit
e838776920
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue