diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Server/Handlers/AgentPreferences | |
parent | Add a build script. (diff) | |
download | opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Server/Handlers/AgentPreferences')
-rw-r--r-- | OpenSim/Server/Handlers/AgentPreferences/AgentPreferencesServerPostHandler.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/AgentPreferences/AgentPreferencesServerPostHandler.cs b/OpenSim/Server/Handlers/AgentPreferences/AgentPreferencesServerPostHandler.cs index 713b755..b1b3c6f 100644 --- a/OpenSim/Server/Handlers/AgentPreferences/AgentPreferencesServerPostHandler.cs +++ b/OpenSim/Server/Handlers/AgentPreferences/AgentPreferencesServerPostHandler.cs | |||
@@ -106,7 +106,8 @@ namespace OpenSim.Server.Handlers.AgentPreferences | |||
106 | return FailureResult(); | 106 | return FailureResult(); |
107 | AgentPrefs prefs = m_AgentPreferencesService.GetAgentPreferences(userID); | 107 | AgentPrefs prefs = m_AgentPreferencesService.GetAgentPreferences(userID); |
108 | Dictionary<string, object> result = new Dictionary<string, object>(); | 108 | Dictionary<string, object> result = new Dictionary<string, object>(); |
109 | result = prefs.ToKeyValuePairs(); | 109 | if (prefs != null) |
110 | result = prefs.ToKeyValuePairs(); | ||
110 | 111 | ||
111 | string xmlString = ServerUtils.BuildXmlResponse(result); | 112 | string xmlString = ServerUtils.BuildXmlResponse(result); |
112 | 113 | ||