From 6a30bb955320c4d5ba20319d486765496c638f6f Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Fri, 8 Mar 2013 17:30:19 -0500 Subject: [PATCH] CRM-12075 make recurring contrib links frontend flagged --- CRM/Core/Payment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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')) { -- 2.25.1