errr use invariantculture compare not current

0.9.1.0-post-fixes
UbitUmarov 2019-03-11 23:24:20 +00:00
parent 186e9e2838
commit 68b0d9f31d
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ namespace OpenSim.Services.LLLoginService
//find a exact match //find a exact match
foreach(GridRegion r in regions) foreach(GridRegion r in regions)
{ {
if(string.Equals(regionName, r.RegionName, StringComparison.CurrentCultureIgnoreCase)) if(string.Equals(regionName, r.RegionName, StringComparison.InvariantCultureIgnoreCase))
return r; return r;
} }
// else, whatever // else, whatever