Skip to content

Commit

Permalink
Follow up fix on change to merge sqls
Browse files Browse the repository at this point in the history
This turns out to have been a missing piece from
#17060 as revealed from
#17072
  • Loading branch information
eileenmcnaughton committed Apr 14, 2020
1 parent 813758c commit ebcb2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Dedupe/Merger.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ protected static function filterRowBasedCustomDataFromCustomTables(array &$cidRe
->setCheckPermissions(FALSE)
->setSelect(['table_name'])
->addWhere('is_multiple', '=', 0)
->addWhere('extends', 'IN', CRM_Contact_BAO_ContactType::contactTypes())
->addWhere('extends', 'IN', array_merge(['Contact'], CRM_Contact_BAO_ContactType::contactTypes()))
->execute()
->indexBy('table_name');
foreach (array_intersect_key($cidRefs, $customTables) as $tableName => $cidSpec) {
Expand Down

0 comments on commit ebcb2ac

Please sign in to comment.