aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 23dd8b6..ca77f2b 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1712,7 +1712,7 @@ namespace OpenSim.Region.Environment.Scenes
1712 1712
1713 CachedUserInfo userInfo = 1713 CachedUserInfo userInfo =
1714 CommsManager.UserProfileCacheService.GetUserDetails(agentID); 1714 CommsManager.UserProfileCacheService.GetUserDetails(agentID);
1715 if (userInfo != null) 1715 if (userInfo != null && userInfo.RootFolder != null)
1716 { 1716 {
1717 Queue<InventoryFolderImpl> searchfolders = new Queue<InventoryFolderImpl>(); 1717 Queue<InventoryFolderImpl> searchfolders = new Queue<InventoryFolderImpl>();
1718 searchfolders.Enqueue(userInfo.RootFolder); 1718 searchfolders.Enqueue(userInfo.RootFolder);