diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index 4ea1e22..e590b9d 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |||
@@ -790,11 +790,11 @@ namespace OpenSim.Framework.Communications.Cache | |||
790 | 790 | ||
791 | if (m_commsManager.SecureInventoryService != null) | 791 | if (m_commsManager.SecureInventoryService != null) |
792 | { | 792 | { |
793 | m_commsManager.SecureInventoryService.QueryItem(item, m_session_id); | 793 | itemInfo = m_commsManager.SecureInventoryService.QueryItem(item, m_session_id); |
794 | } | 794 | } |
795 | else | 795 | else |
796 | { | 796 | { |
797 | m_commsManager.InventoryService.QueryItem(item); | 797 | itemInfo = m_commsManager.InventoryService.QueryItem(item); |
798 | } | 798 | } |
799 | 799 | ||
800 | if (itemInfo != null) | 800 | if (itemInfo != null) |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 011d9a6..9528114 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -525,8 +525,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
525 | itemCopy.SalePrice = item.SalePrice; | 525 | itemCopy.SalePrice = item.SalePrice; |
526 | itemCopy.SaleType = item.SaleType; | 526 | itemCopy.SaleType = item.SaleType; |
527 | 527 | ||
528 | itemCopy.CreationDate = item.CreationDate; | ||
529 | |||
530 | recipientUserInfo.AddItem(itemCopy); | 528 | recipientUserInfo.AddItem(itemCopy); |
531 | 529 | ||
532 | if (!Permissions.BypassPermissions()) | 530 | if (!Permissions.BypassPermissions()) |