diff options
author | Teravus Ovares (Dan Olivares) | 2009-09-10 00:31:32 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-09-10 00:31:32 -0400 |
commit | 656de67d854faa1aab5961c6afafc880cd73c21a (patch) | |
tree | 0e083f337223376611d1a9a6721f603175bcc8db /OpenSim/Framework/Capabilities/Caps.cs | |
parent | * Another Timer lock (diff) | |
parent | Many databases contain folders with invalid folder ID. Folder IDs are (diff) | |
download | opensim-SC-656de67d854faa1aab5961c6afafc880cd73c21a.zip opensim-SC-656de67d854faa1aab5961c6afafc880cd73c21a.tar.gz opensim-SC-656de67d854faa1aab5961c6afafc880cd73c21a.tar.bz2 opensim-SC-656de67d854faa1aab5961c6afafc880cd73c21a.tar.xz |
Merge branch 'master' of ssh://MyConnection/var/git/opensim
Diffstat (limited to 'OpenSim/Framework/Capabilities/Caps.cs')
-rw-r--r-- | OpenSim/Framework/Capabilities/Caps.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs index 665bfe5..1dfb2d4 100644 --- a/OpenSim/Framework/Capabilities/Caps.cs +++ b/OpenSim/Framework/Capabilities/Caps.cs | |||
@@ -502,7 +502,7 @@ namespace OpenSim.Framework.Capabilities | |||
502 | llsdFolder.folder_id = invFolder.ID; | 502 | llsdFolder.folder_id = invFolder.ID; |
503 | llsdFolder.parent_id = invFolder.ParentID; | 503 | llsdFolder.parent_id = invFolder.ParentID; |
504 | llsdFolder.name = invFolder.Name; | 504 | llsdFolder.name = invFolder.Name; |
505 | if (invFolder.Type == -1) | 505 | if (invFolder.Type < 0 || invFolder.Type >= TaskInventoryItem.Types.Length) |
506 | llsdFolder.type = "-1"; | 506 | llsdFolder.type = "-1"; |
507 | else | 507 | else |
508 | llsdFolder.type = TaskInventoryItem.Types[invFolder.Type]; | 508 | llsdFolder.type = TaskInventoryItem.Types[invFolder.Type]; |