From 51754eb399cf7fb0c16fe5e2612d1929ed2ae7f7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 7 Jan 2015 14:44:06 +1300 Subject: [PATCH] cache in main singleton class --- CRM/Core/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 7345ab67bf..c4b6580944 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -125,7 +125,7 @@ abstract class CRM_Core_Payment { } //load the object. - self::$_singleton[$cacheKey] = $paymentClass::singleton($mode, $paymentProcessor); + self::$_singleton[$cacheKey] = new $paymentClass($mode, $paymentProcessor); } //load the payment form for required processor. -- 2.25.1