Fox a null ref in the inventory give module

This commit is contained in:
Melanie Thielker
2009-03-22 15:19:43 +00:00
parent ea1e38dd14
commit 73a982babe

View File

@@ -786,6 +786,9 @@ namespace OpenSim.Framework.Communications.Cache
return true;
}
item = new InventoryItemBase();
item.ID = itemID;
InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item);
if (itemInfo != null)
{