Bug fix on user account creation -- ServiceURLs field now properly filled out.

slimupdates
Diva Canto 2010-03-04 21:02:35 -08:00
parent e39fc95659
commit 463d775261
1 changed files with 1 additions and 1 deletions

View File

@ -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;