From: Eileen McNaughton Date: Mon, 27 Apr 2015 16:07:34 +0000 (-0600) Subject: CRM-16245 follow up fix on recurring processors not displaying X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5b67fa513020634195726ff284e505178bb7eabe;p=civicrm-core.git CRM-16245 follow up fix on recurring processors not displaying --- 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))