Mantis #7603 -- bad folders in inventory could produce null pointer exception. Thanks for the line numbers in the exception trace.

fsassets
Diva Canto 2015-06-04 19:57:01 -07:00
parent 83267e19f6
commit 52d9ea1cee
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ namespace OpenSim.Capabilities.Handlers
// The inventory server isn't sending FolderID in the collection...
// Must fetch it individually
if (contents.FolderID == UUID.Zero)
else if (contents.FolderID == UUID.Zero)
{
InventoryFolderBase containingFolder = new InventoryFolderBase();
containingFolder.ID = freq.folder_id;