From 10cdf4cb2c800cee38368b96720e93813c43e70e Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Mon, 13 Jul 2015 06:14:44 +0000 Subject: [PATCH] test fix --- CRM/Contribute/Form/Contribution/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 86c2367b14..8c9177dc12 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -1304,7 +1304,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $this->setContributeMode(); if ($this->_paymentProcessor && - $this->_paymentProcessor['object']->supportsPreApproval() + $this->_paymentProcessor['object']->supports('preApproval') ) { $this->handlePreApproval($params); } -- 2.25.1