diff options
author | Diva Canto | 2010-03-04 21:02:35 -0800 |
---|---|---|
committer | Diva Canto | 2010-03-04 21:02:35 -0800 |
commit | 463d7752614df8a8b3c01a52150afac4e0f8adec (patch) | |
tree | 250d8d1cc6a827961a57ae6917e803a8520cb489 /OpenSim/Services/UserAccountService | |
parent | Fix LocalPresenceServiceConnector test now that the hardcoded test data has b... (diff) | |
download | opensim-SC_OLD-463d7752614df8a8b3c01a52150afac4e0f8adec.zip opensim-SC_OLD-463d7752614df8a8b3c01a52150afac4e0f8adec.tar.gz opensim-SC_OLD-463d7752614df8a8b3c01a52150afac4e0f8adec.tar.bz2 opensim-SC_OLD-463d7752614df8a8b3c01a52150afac4e0f8adec.tar.xz |
Bug fix on user account creation -- ServiceURLs field now properly filled out.
Diffstat (limited to 'OpenSim/Services/UserAccountService')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 2 |
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; |