test fix
authoreileenmcnaughton <eileen@fuzion.co.nz>
Mon, 13 Jul 2015 06:14:44 +0000 (06:14 +0000)
committereileenmcnaughton <eileen@fuzion.co.nz>
Mon, 13 Jul 2015 06:14:44 +0000 (06:14 +0000)
CRM/Contribute/Form/Contribution/Main.php

index 86c2367b146f93f4a98b3704b74a9473e527f0fb..8c9177dc12a718108253bc149ded7d1b87e5e593 100644 (file)
@@ -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);
       }