mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Mantis #7594. Fixing the broken code I just introduced.
This commit is contained in:
@@ -111,7 +111,10 @@ namespace OpenSim.Capabilities.Handlers
|
||||
}
|
||||
|
||||
// Filter duplicate folder ids that bad viewers may send
|
||||
folders = (List<LLSDFetchInventoryDescendents>)folders.GroupBy(f => f.folder_id).Select(n => n.First());
|
||||
var unique = folders.GroupBy(f => f.folder_id).Select(n => n.First());
|
||||
folders.Clear();
|
||||
foreach (var f in unique)
|
||||
folders.Add(f);
|
||||
}
|
||||
|
||||
if (folders.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user