Skip to content

Commit

Permalink
Don't try to push unmatched contacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Nov 27, 2022
1 parent 7c39c77 commit 8370034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Civixero/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ protected function getContactsRequiringPushUpdate(array $params, int $limit): ar
}
else {
$accountContact->addWhere('accounts_needs_update', '=', TRUE);
$accountContact->addWhere('contact_id', 'IS NOT NULL');
}
return $accountContact->execute()->getArrayCopy();
}
Expand Down

0 comments on commit 8370034

Please sign in to comment.