[fix:] trying to fix one-item-too-much-issue

This commit is contained in:
2026-04-27 08:49:27 +02:00
parent 3e14731429
commit 93771dd110
+2 -1
View File
@@ -37,7 +37,8 @@ public class CombineAddresses
/// <returns></returns> /// <returns></returns>
public bool CompareAddresses(KasPerson first, KasPerson second, bool only_refsid = false) public bool CompareAddresses(KasPerson first, KasPerson second, bool only_refsid = false)
{ {
if (first.refsid == second.refsid) return true; // A refsid of 0 means "missing", so it must not collapse unrelated entries.
if (first.refsid != 0 && second.refsid != 0 && first.refsid == second.refsid) return true;
if (!only_refsid) if (!only_refsid)
if (first.name == second.name && if (first.name == second.name &&
first.anrede == second.anrede && first.anrede == second.anrede &&