hotfix, null str

This commit is contained in:
2025-07-17 12:39:23 +02:00
parent 0dd409454f
commit 5e67cee9fe
2 changed files with 3 additions and 1 deletions

View File

@@ -131,7 +131,7 @@ namespace BeWo
new DebugConfig()
{
DebugConfigMode = DebugConfigMode.FeatureDakota,
AutoLogin = true,
AutoLogin = false,
SelectView = UIContext.Organisation,
SelectIndex = 8,
DefaultLoginUsername = "m1",

View File

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