Skip to content

Commit

Permalink
Merge pull request #398 from jaapjansma/issue_397
Browse files Browse the repository at this point in the history
Fix for #397
  • Loading branch information
bjendres authored Jan 17, 2025
2 parents 74b0b2b + cc95878 commit daeae81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CRM/Banking/Matcher/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public function findContacts($threshold=0.0, $name=NULL, $lookup_by_name_paramet
// look up accounts
$account_owners = $this->getAccountContacts();
foreach ($account_owners as $account_owner) {
$contacts[$account_owner] = $this->bank_account_reference_matching_probability;
if (!isset($contacts[$account_owner])) {
$contacts[$account_owner] = $this->bank_account_reference_matching_probability;
}
}

// check if multiple 1.0 probabilities are there...
Expand Down

0 comments on commit daeae81

Please sign in to comment.