From: Eileen McNaughton Date: Mon, 8 Sep 2014 10:52:20 +0000 (+1200) Subject: CRM-15259 use same method to determine whether to show updateBilling link as whether... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=42666d19693cf7aca0296189abd4b8fb9cf80af2;p=civicrm-core.git CRM-15259 use same method to determine whether to show updateBilling link as whether to allow access to form --- diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 5624984090..a7f21fde65 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -315,8 +315,7 @@ abstract class CRM_Core_Payment { $url = 'civicrm/contribute/unsubscribe'; } elseif ($action == 'billing') { - //in notify mode don't return the update billing url - if ($this->_paymentProcessor['billing_mode'] == self::BILLING_MODE_NOTIFY) { + if (!$this->isSupported('updateSubscriptionBillingInfo')) { return NULL; } $url = 'civicrm/contribute/updatebilling';