$this->assign('other_name', $other['display_name']);
$this->assign('main_cid', $main['contact_id']);
$this->assign('other_cid', $other['contact_id']);
+ $this->assign('rgid', $rgid);
$this->_cid = $cid;
$this->_oid = $oid;
CRM_Core_DAO::executeQuery($sql, $params);
}
- function retrieve($cacheKey, $join = NULL, $where = NULL, $offset = 0, $rowCount = 0) {
+ static function retrieve($cacheKey, $join = NULL, $where = NULL, $offset = 0, $rowCount = 0) {
$query = "
SELECT data
FROM civicrm_prevnext_cache pn
return $ruleFields;
}
- function validateContacts($cid, $oid) {
+ static function validateContacts($cid, $oid) {
if (!$cid || !$oid) {
return;
}
</div>
<div class="action-link">
- <a id='notDuplicate' href="#" title={ts}Mark this pair as not a duplicate.{/ts} onClick="processDupes( {$main_cid}, {$other_cid}, 'dupe-nondupe', 'merge-contact', '{crmURL p="civicrm/contact/deduperules" q="reset=1&context=nonDupe"}' );return false;">» {ts}Mark this pair as not a duplicate.{/ts}</a>
+ <a id='notDuplicate' href="#" title={ts}Mark this pair as not a duplicate.{/ts} onClick="processDupes( {$main_cid}, {$other_cid}, 'dupe-nondupe', 'merge-contact', '{crmURL p="civicrm/contact/dedupefind" q="reset=1&action=update&rgid=$rgid"}' );return false;">» {ts}Mark this pair as not a duplicate.{/ts}</a>
</div>
<table>