From 42666d19693cf7aca0296189abd4b8fb9cf80af2 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 8 Sep 2014 22:52:20 +1200 Subject: [PATCH] CRM-15259 use same method to determine whether to show updateBilling link as whether to allow access to form --- CRM/Core/Payment.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'; -- 2.25.1