From b3eb6aaec81975e3c8a36d41bb83e332dfb1220a Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 18 Jul 2015 11:48:30 +1200 Subject: [PATCH] test fix - another instance of old processor instantiation --- CRM/Extension/Manager/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Extension/Manager/Payment.php b/CRM/Extension/Manager/Payment.php index a6d886e6fb..36d9a8ad92 100644 --- a/CRM/Extension/Manager/Payment.php +++ b/CRM/Extension/Manager/Payment.php @@ -283,7 +283,7 @@ class CRM_Extension_Manager_Payment extends CRM_Extension_Manager_Base { case 'disable': // Instantiate PP - $processorInstance = $paymentClass::singleton(NULL, $paymentProcessor); + $processorInstance = $paymentProcessor['object']; // Does PP implement this method, and can we call it? if (method_exists($processorInstance, $method) && is_callable(array( -- 2.25.1