diff options
author | Oren Hurvitz | 2013-01-21 14:21:52 +0200 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-09 01:57:36 +0000 |
commit | ae701eccd29847d086f07727a8378e13fcec9733 (patch) | |
tree | 2f3baa14e98ed6195d46e7ed27ad9e30854c329a | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-ae701eccd29847d086f07727a8378e13fcec9733.zip opensim-SC_OLD-ae701eccd29847d086f07727a8378e13fcec9733.tar.gz opensim-SC_OLD-ae701eccd29847d086f07727a8378e13fcec9733.tar.bz2 opensim-SC_OLD-ae701eccd29847d086f07727a8378e13fcec9733.tar.xz |
Fixed check for 0 results in GetUserAccounts()
-rw-r--r-- | OpenSim/Services/Connectors/UserAccounts/UserAccountServicesConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/UserAccounts/UserAccountServicesConnector.cs b/OpenSim/Services/Connectors/UserAccounts/UserAccountServicesConnector.cs index 6d5ce28..97d9458 100644 --- a/OpenSim/Services/Connectors/UserAccounts/UserAccountServicesConnector.cs +++ b/OpenSim/Services/Connectors/UserAccounts/UserAccountServicesConnector.cs | |||
@@ -162,7 +162,7 @@ namespace OpenSim.Services.Connectors | |||
162 | 162 | ||
163 | if (replyData != null) | 163 | if (replyData != null) |
164 | { | 164 | { |
165 | if (replyData.ContainsKey("result") && replyData.ContainsKey("result").ToString() == "null") | 165 | if (replyData.ContainsKey("result") && replyData["result"].ToString() == "null") |
166 | { | 166 | { |
167 | return accounts; | 167 | return accounts; |
168 | } | 168 | } |