Skip to content

Commit

Permalink
Merge pull request #21509 from JMAConsulting/core_2820
Browse files Browse the repository at this point in the history
dev/core#2820: Deduping produces bad results after a rule change
  • Loading branch information
eileenmcnaughton authored Sep 20, 2021
2 parents c667c8c + b51af51 commit 91660d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Form/DedupeRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public function postProcess() {

//need to clear cache of deduped contacts
//based on the previous rule
$cacheKey = "merge {$this->_contactType}_{$this->_rgid}_%";
$cacheKey = "merge_{$this->_contactType}_{$this->_rgid}_%";

CRM_Core_BAO_PrevNextCache::deleteItem(NULL, $cacheKey);

Expand Down

0 comments on commit 91660d4

Please sign in to comment.