diff options
Diffstat (limited to 'OpenSim/Framework/Serialization')
-rw-r--r-- | OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs index b9c6206..e0ddc96 100644 --- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs +++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Serialization.External | |||
81 | item.SalePrice = Convert.ToInt32( xtr.ReadElementString("SalePrice")); | 81 | item.SalePrice = Convert.ToInt32( xtr.ReadElementString("SalePrice")); |
82 | item.BasePermissions = Convert.ToUInt32( xtr.ReadElementString("BasePermissions")); | 82 | item.BasePermissions = Convert.ToUInt32( xtr.ReadElementString("BasePermissions")); |
83 | item.CurrentPermissions = Convert.ToUInt32( xtr.ReadElementString("CurrentPermissions")); | 83 | item.CurrentPermissions = Convert.ToUInt32( xtr.ReadElementString("CurrentPermissions")); |
84 | item.EveryOnePermissions = Convert.ToUInt32( xtr.ReadElementString("EveryOnePermssions")); | 84 | item.EveryOnePermissions = Convert.ToUInt32( xtr.ReadElementString("EveryOnePermissions")); |
85 | item.NextPermissions = Convert.ToUInt32( xtr.ReadElementString("NextPermissions")); | 85 | item.NextPermissions = Convert.ToUInt32( xtr.ReadElementString("NextPermissions")); |
86 | item.Flags = Convert.ToUInt32( xtr.ReadElementString("Flags")); | 86 | item.Flags = Convert.ToUInt32( xtr.ReadElementString("Flags")); |
87 | item.GroupID = UUID.Parse( xtr.ReadElementString("GroupID")); | 87 | item.GroupID = UUID.Parse( xtr.ReadElementString("GroupID")); |
@@ -143,7 +143,7 @@ namespace OpenSim.Framework.Serialization.External | |||
143 | writer.WriteStartElement("CurrentPermissions"); | 143 | writer.WriteStartElement("CurrentPermissions"); |
144 | writer.WriteString(inventoryItem.CurrentPermissions.ToString()); | 144 | writer.WriteString(inventoryItem.CurrentPermissions.ToString()); |
145 | writer.WriteEndElement(); | 145 | writer.WriteEndElement(); |
146 | writer.WriteStartElement("EveryOnePermssions"); | 146 | writer.WriteStartElement("EveryOnePermissions"); |
147 | writer.WriteString(inventoryItem.EveryOnePermissions.ToString()); | 147 | writer.WriteString(inventoryItem.EveryOnePermissions.ToString()); |
148 | writer.WriteEndElement(); | 148 | writer.WriteEndElement(); |
149 | writer.WriteStartElement("NextPermissions"); | 149 | writer.WriteStartElement("NextPermissions"); |