Skip to content
Snippets Groups Projects
Unverified Commit 7b1b3302 authored by yashodha's avatar yashodha Committed by GitHub
Browse files

Merge pull request #17462 from eileenmcnaughton/526ex

#1780 Fix bug where non-household merge contacts were being skipped
parents 21bf9a74 69edd19f
No related branches found
No related tags found
No related merge requests found
......@@ -498,7 +498,7 @@ class CRM_Export_BAO_ExportProcessor {
*/
public function setRelationshipValue($relationshipType, $contactID, $field, $value) {
$this->relatedContactValues[$relationshipType][$contactID][$field] = $value;
if ($field === 'id') {
if ($field === 'id' && $this->isHouseholdMergeRelationshipTypeKey($relationshipType)) {
$this->householdsToSkip[] = $value;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment