aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/UserAccountService.cs
diff options
context:
space:
mode:
authorDiva Canto2010-03-04 21:02:35 -0800
committerDiva Canto2010-03-04 21:02:35 -0800
commit463d7752614df8a8b3c01a52150afac4e0f8adec (patch)
tree250d8d1cc6a827961a57ae6917e803a8520cb489 /OpenSim/Services/UserAccountService/UserAccountService.cs
parentFix LocalPresenceServiceConnector test now that the hardcoded test data has b... (diff)
downloadopensim-SC-463d7752614df8a8b3c01a52150afac4e0f8adec.zip
opensim-SC-463d7752614df8a8b3c01a52150afac4e0f8adec.tar.gz
opensim-SC-463d7752614df8a8b3c01a52150afac4e0f8adec.tar.bz2
opensim-SC-463d7752614df8a8b3c01a52150afac4e0f8adec.tar.xz
Bug fix on user account creation -- ServiceURLs field now properly filled out.
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index ca6e44a..82c34e7 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -280,7 +280,7 @@ namespace OpenSim.Services.UserAccountService
280 if (null == account) 280 if (null == account)
281 { 281 {
282 account = new UserAccount(UUID.Zero, firstName, lastName, email); 282 account = new UserAccount(UUID.Zero, firstName, lastName, email);
283 if (account.ServiceURLs == null) 283 if (account.ServiceURLs == null || (account.ServiceURLs != null && account.ServiceURLs.Count == 0))
284 { 284 {
285 account.ServiceURLs = new Dictionary<string, object>(); 285 account.ServiceURLs = new Dictionary<string, object>();
286 account.ServiceURLs["HomeURI"] = string.Empty; 286 account.ServiceURLs["HomeURI"] = string.Empty;