From 25ce8d1359267894ed06b7ccbba405130bfe3021 Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 14 Apr 2015 16:39:49 -0700 Subject: [PATCH] CRM-15959, manually applied changes that were lost in forward merge ---------------------------------------- * CRM-15959: Leakage in payment processor selection https://issues.civicrm.org/jira/browse/CRM-15959 --- CRM/Core/Payment.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 2b665249af..81774bdfc2 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -620,10 +620,7 @@ abstract class CRM_Core_Payment { } else { // Legacy or extension as module instance - if (empty($paymentClass)) { - $paymentClass = 'CRM_Core_' . $dao->class_name; - - } + $paymentClass = 'CRM_Core_' . $dao->class_name; } $processorInstance = Civi\Payment\System::singleton()->getById($dao->processor_id); -- 2.25.1