Bug fix on user account creation -- ServiceURLs field now properly filled out.
parent
e39fc95659
commit
463d775261
|
@ -280,7 +280,7 @@ namespace OpenSim.Services.UserAccountService
|
||||||
if (null == account)
|
if (null == account)
|
||||||
{
|
{
|
||||||
account = new UserAccount(UUID.Zero, firstName, lastName, email);
|
account = new UserAccount(UUID.Zero, firstName, lastName, email);
|
||||||
if (account.ServiceURLs == null)
|
if (account.ServiceURLs == null || (account.ServiceURLs != null && account.ServiceURLs.Count == 0))
|
||||||
{
|
{
|
||||||
account.ServiceURLs = new Dictionary<string, object>();
|
account.ServiceURLs = new Dictionary<string, object>();
|
||||||
account.ServiceURLs["HomeURI"] = string.Empty;
|
account.ServiceURLs["HomeURI"] = string.Empty;
|
||||||
|
|
Loading…
Reference in New Issue