aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-03-05 23:37:49 +0000
committerJustin Clark-Casey (justincc)2010-03-05 23:37:49 +0000
commite7422fe9b212878852ffb2dea6bb24347f6a7b98 (patch)
treea4ede668eed739cd161c9fc85ba739d32ca90a6b
parentrefactor: move another AttachObject method (diff)
parentBug fix on user account creation -- ServiceURLs field now properly filled out. (diff)
downloadopensim-SC-e7422fe9b212878852ffb2dea6bb24347f6a7b98.zip
opensim-SC-e7422fe9b212878852ffb2dea6bb24347f6a7b98.tar.gz
opensim-SC-e7422fe9b212878852ffb2dea6bb24347f6a7b98.tar.bz2
opensim-SC-e7422fe9b212878852ffb2dea6bb24347f6a7b98.tar.xz
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
-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;