[fix:] trying to fix one-item-too-much-issue
This commit is contained in:
@@ -37,7 +37,8 @@ public class CombineAddresses
|
||||
/// <returns></returns>
|
||||
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 (first.name == second.name &&
|
||||
first.anrede == second.anrede &&
|
||||
|
||||
Reference in New Issue
Block a user