CRM-12075 make recurring contrib links frontend flagged
authorBrian Shaughnessy <brian@lcdservices.biz>
Fri, 8 Mar 2013 22:30:19 +0000 (17:30 -0500)
committerBrian Shaughnessy <brian@lcdservices.biz>
Fri, 8 Mar 2013 22:30:19 +0000 (17:30 -0500)
CRM/Core/Payment.php

index e96f4b77c00e92febe617a5ef85bdb088dac84f1..c20f36914b656513643fe8d36d6f380815366a72 100644 (file)
@@ -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')) {