Fixes mantis #5461.

This commit is contained in:
Diva Canto
2011-05-04 11:34:18 -07:00
parent 4c59d57596
commit df7dacd004

View File

@@ -371,7 +371,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
}
// This is a hook to do some per-asset post-processing for subclasses that need that
ExportAsset(remoteClient.AgentId, assetID);
if (remoteClient != null)
ExportAsset(remoteClient.AgentId, assetID);
return assetID;
}