diff --git a/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs b/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs index fc76fb63d0..544d13d571 100644 --- a/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs +++ b/OpenSim/Framework/Serialization/External/UserProfileSerializer.cs @@ -27,6 +27,7 @@ using System.IO; using System.Xml; +using OpenMetaverse; using OpenSim.Framework; namespace OpenSim.Framework.Serialization.External @@ -53,7 +54,7 @@ namespace OpenSim.Framework.Serialization.External xtw.WriteAttributeString("minor_version", MINOR_VERSION.ToString()); xtw.WriteElementString("name", profile.Name); - xtw.WriteElementString("id", profile.ID); + xtw.WriteElementString("id", profile.ID.ToString()); xtw.WriteElementString("about", profile.AboutText); // Not sure if we're storing this yet, need to take a look