hotfix, null str
This commit is contained in:
@@ -131,7 +131,7 @@ namespace BeWo
|
||||
new DebugConfig()
|
||||
{
|
||||
DebugConfigMode = DebugConfigMode.FeatureDakota,
|
||||
AutoLogin = true,
|
||||
AutoLogin = false,
|
||||
SelectView = UIContext.Organisation,
|
||||
SelectIndex = 8,
|
||||
DefaultLoginUsername = "m1",
|
||||
|
||||
@@ -180,6 +180,8 @@ namespace Dakota.Logic
|
||||
|
||||
private string clear(string str)
|
||||
{
|
||||
if (str is null)
|
||||
return null;
|
||||
string asciiOnly = new string(str.Where(c => c <= 127).ToArray());
|
||||
return asciiOnly;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user