From ae1bdaa7b5f4bf485a52c2fcd81be2e1cd8d0400 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 3 Jan 2010 07:03:14 -0800 Subject: Applied fix for avatar connectors similar to yesterday's fix of user account connectors. --- OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Services') diff --git a/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs b/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs index bd78c1a..6d9fc60 100644 --- a/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs +++ b/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs @@ -140,7 +140,12 @@ namespace OpenSim.Services.Connectors sendData["METHOD"] = "setavatar"; sendData["UserID"] = userID.ToString(); - sendData["Avatar"] = avatar.ToKeyValuePairs(); + + Dictionary structData = avatar.ToKeyValuePairs(); + + foreach (KeyValuePair kvp in structData) + sendData[kvp.Key] = kvp.Value.ToString(); + string reqString = ServerUtils.BuildQueryString(sendData); // m_log.DebugFormat("[AVATAR CONNECTOR]: queryString = {0}", reqString); -- cgit v1.1