DeliveryAdminWindow: Add export option for BKI

This commit is contained in:
2023-09-08 12:44:29 +02:00
parent f5f00a7739
commit bc6148624c
4 changed files with 29 additions and 7 deletions

View File

@ -305,7 +305,7 @@ namespace Elwig.Helpers {
}
public static (string, string?) SplitName(string fullName, string? familyName) {
if (familyName == null) return (fullName, null);
if (familyName == null || familyName == "") return (fullName, null);
var p0 = fullName.ToLower().IndexOf(familyName.ToLower());
if (p0 == -1) return (fullName, null);
var p1 = fullName.IndexOf(" und ");