From 8075c1e3638910611c56edd20e9d9c09ffc55c38 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 28 Jan 2020 19:49:45 +0000 Subject: [PATCH] do store UserCountry --- OpenSim/Services/UserAccountService/UserAccountService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index 4f0698fc8a..9108899b03 100755 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs @@ -320,9 +320,10 @@ namespace OpenSim.Services.UserAccountService d.Data["Created"] = data.Created.ToString(); d.Data["UserLevel"] = data.UserLevel.ToString(); d.Data["UserFlags"] = data.UserFlags.ToString(); - if (data.UserTitle != null) + if (!string.IsNullOrEmpty(data.UserTitle)) d.Data["UserTitle"] = data.UserTitle.ToString(); - + if (!string.IsNullOrEmpty(data.UserCountry)) + d.Data["UserCountry"] = data.UserTitle.ToString(); List parts = new List(); foreach (KeyValuePair kvp in data.ServiceURLs)