From: Brian Shaughnessy Date: Fri, 8 Mar 2013 22:30:19 +0000 (-0500) Subject: CRM-12075 make recurring contrib links frontend flagged X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6a30bb955320c4d5ba20319d486765496c638f6f;p=civicrm-core.git CRM-12075 make recurring contrib links frontend flagged --- diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index e96f4b77c0..c20f36914b 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -324,7 +324,7 @@ abstract class CRM_Core_Payment { $checksumValue = CRM_Contact_BAO_Contact_Utils::generateChecksum($contactID, NULL, 'inf'); $checksumValue = "&cs={$checksumValue}"; } - return CRM_Utils_System::url($url, "reset=1&mid={$entityID}{$checksumValue}", TRUE, NULL, FALSE, FALSE); + return CRM_Utils_System::url($url, "reset=1&mid={$entityID}{$checksumValue}", TRUE, NULL, FALSE, TRUE); } if ($entityID && $entity == 'contribution') { @@ -333,7 +333,7 @@ abstract class CRM_Core_Payment { $checksumValue = CRM_Contact_BAO_Contact_Utils::generateChecksum($contactID, NULL, 'inf'); $checksumValue = "&cs={$checksumValue}"; } - return CRM_Utils_System::url($url, "reset=1&coid={$entityID}{$checksumValue}", TRUE, NULL, FALSE, FALSE); + return CRM_Utils_System::url($url, "reset=1&coid={$entityID}{$checksumValue}", TRUE, NULL, FALSE, TRUE); } if ($entityID && $entity == 'recur') { @@ -348,7 +348,7 @@ INNER JOIN civicrm_contribution con ON ( con.contribution_recur_id = rec.id ) $checksumValue = CRM_Contact_BAO_Contact_Utils::generateChecksum($contactID, NULL, 'inf'); $checksumValue = "&cs={$checksumValue}"; } - return CRM_Utils_System::url($url, "reset=1&crid={$entityID}{$checksumValue}", TRUE, NULL, FALSE, FALSE); + return CRM_Utils_System::url($url, "reset=1&crid={$entityID}{$checksumValue}", TRUE, NULL, FALSE, TRUE); } if ($this->isSupported('accountLoginURL')) {