mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Correctly output library inventory folder type and version information
This commit is contained in:
@@ -280,8 +280,8 @@ namespace OpenSim.Framework.UserManagement
|
||||
Hashtable TempHash = new Hashtable();
|
||||
TempHash["name"] = folder.name;
|
||||
TempHash["parent_id"] = folder.parentID.ToString();
|
||||
TempHash["version"] = folder.version;
|
||||
TempHash["type_default"] = folder.type;
|
||||
TempHash["version"] = (Int32)folder.version;
|
||||
TempHash["type_default"] = (Int32)folder.type;
|
||||
TempHash["folder_id"] = folder.folderID.ToString();
|
||||
folderHashes.Add(TempHash);
|
||||
}
|
||||
@@ -336,4 +336,4 @@ namespace OpenSim.Framework.UserManagement
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ namespace OpenSim.Framework
|
||||
public LLUUID folderID;
|
||||
|
||||
/// <summary>
|
||||
/// Tyep of Items normally stored in this folder
|
||||
/// Type of items normally stored in this folder
|
||||
/// </summary>
|
||||
public short type;
|
||||
|
||||
@@ -291,4 +291,4 @@ namespace OpenSim.Framework
|
||||
|
||||
[XmlElement(ElementName = "folder", IsNullable = true)] public SerializableFolder root;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user