Fix DedupeFind cache set call
authorElliott Eggleston <ejegg@ejegg.com>
Wed, 10 Aug 2016 20:55:33 +0000 (16:55 -0400)
committereileen <emcnaughton@wikimedia.org>
Wed, 17 Aug 2016 02:22:01 +0000 (14:22 +1200)
set, not get.

CRM/Contact/Page/DedupeFind.php

index 2555693399a3e18343551e2e78afff90e6fe8dc2..1fa51fdd1832dc37ced14dc70c109d08e1c056fb 100644 (file)
@@ -35,6 +35,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
   protected $_rgid;
   protected $_mainContacts;
   protected $_gid;
+  protected $action;
 
   /**
    * Get BAO Name.
@@ -158,7 +159,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
           if (!$foundDupes) {
             $foundDupes = CRM_Dedupe_Finder::dupes($rgid, $contactIds);
           }
-          $this->get("search_dedupe_dupes_$gid", $foundDupes);
+          $this->set("search_dedupe_dupes_$gid", $foundDupes);
         }
         else {
           $foundDupes = $this->get('dedupe_dupes');