diff options
author | Melanie Thielker | 2009-03-22 15:19:43 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-03-22 15:19:43 +0000 |
commit | 73a982babe7a976d024fea6a00a78321fefa8e5e (patch) | |
tree | 8eb37023cfe03a5d6c17306497f9ce18c8200150 /OpenSim/Framework/Communications | |
parent | Cause the inventory give module to be more selective and not attempt to (diff) | |
download | opensim-SC-73a982babe7a976d024fea6a00a78321fefa8e5e.zip opensim-SC-73a982babe7a976d024fea6a00a78321fefa8e5e.tar.gz opensim-SC-73a982babe7a976d024fea6a00a78321fefa8e5e.tar.bz2 opensim-SC-73a982babe7a976d024fea6a00a78321fefa8e5e.tar.xz |
Fox a null ref in the inventory give module
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index 57c3ece..03569f6 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |||
@@ -786,6 +786,9 @@ namespace OpenSim.Framework.Communications.Cache | |||
786 | return true; | 786 | return true; |
787 | } | 787 | } |
788 | 788 | ||
789 | item = new InventoryItemBase(); | ||
790 | item.ID = itemID; | ||
791 | |||
789 | InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item); | 792 | InventoryItemBase itemInfo = m_commsManager.InventoryService.QueryItem(item); |
790 | if (itemInfo != null) | 793 | if (itemInfo != null) |
791 | { | 794 | { |