Small fix to eliminate a beauty spot

0.6.0-stable
Melanie Thielker 2008-09-23 03:49:07 +00:00
parent 70d264ee6c
commit 525f66b6f1
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
InventoryItemBase assetRequestItem = userInfo.RootFolder.FindItem(notecard); InventoryItemBase assetRequestItem = userInfo.RootFolder.FindItem(notecard);
if (assetRequestItem == null) // Library item if (assetRequestItem == null) // Library item
{ {
assetRequestItem = m_scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard); assetRequestItem = scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard);
if (assetRequestItem != null) // Implicitly readable if (assetRequestItem != null) // Implicitly readable
return true; return true;