mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Bug fix on user account creation -- ServiceURLs field now properly filled out.
This commit is contained in:
@@ -280,7 +280,7 @@ namespace OpenSim.Services.UserAccountService
|
||||
if (null == account)
|
||||
{
|
||||
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["HomeURI"] = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user