From 5b67fa513020634195726ff284e505178bb7eabe Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 27 Apr 2015 10:07:34 -0600 Subject: [PATCH] CRM-16245 follow up fix on recurring processors not displaying --- CRM/Contribute/Form/AbstractEditPayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 1c2184c9ad..c3b971d3d3 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -439,7 +439,7 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co //get the valid recurring processors. $test = strtolower($this->_mode) == 'test' ? TRUE : FALSE; $recurring = CRM_Core_PseudoConstant::paymentProcessor(FALSE, $test, 'is_recur = 1'); - $this->_recurPaymentProcessors = array_intersect_assoc($this->_processors, $recurring); + $this->_recurPaymentProcessors = array_intersect_key($this->_processors, $recurring); } $this->assign('recurringPaymentProcessorIds', empty($this->_recurPaymentProcessors) ? '' : implode(',', array_keys($this->_recurPaymentProcessors)) -- 2.25.1