From 794deeeb85a1670670a106293b695b276a69827f Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 3 Mar 2008 09:30:59 +0000 Subject: * Fixed about Text in the profile in grid mode. --- OpenSim/Region/ClientStack/ClientView.cs | 5 ++++- OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index fe12cb7..b719086 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -1589,7 +1589,10 @@ namespace OpenSim.Region.ClientStack AvatarPropertiesReplyPacket avatarReply = (AvatarPropertiesReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarPropertiesReply); avatarReply.AgentData.AgentID = AgentId; avatarReply.AgentData.AvatarID = avatarID; - avatarReply.PropertiesData.AboutText = Helpers.StringToField(aboutText); + if (aboutText != null) + avatarReply.PropertiesData.AboutText = Helpers.StringToField(aboutText); + else + avatarReply.PropertiesData.AboutText = Helpers.StringToField(""); avatarReply.PropertiesData.BornOn = Helpers.StringToField(bornOn); avatarReply.PropertiesData.CharterMember = Helpers.StringToField(charterMember); if (flAbout != null) diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 7dcbb46..c883b87 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs @@ -70,6 +70,7 @@ namespace OpenSim.Region.Communications.OGS1 userData.profileFirstImage = new LLUUID((string) data["profile_firstlife_image"]); userData.profileCanDoMask = Convert.ToUInt32((string) data["profile_can_do"]); userData.profileWantDoMask = Convert.ToUInt32(data["profile_want_do"]); + userData.profileAboutText = (string)data["profile_about"]; userData.profileImage = new LLUUID((string) data["profile_image"]); userData.lastLogin = Convert.ToInt32((string) data["profile_lastlogin"]); userData.homeRegion = Convert.ToUInt64((string) data["home_region"]); -- cgit v1.1