Commit bc8526fa authored by colemanw's avatar colemanw
Browse files

CRM-16555 - Fix double-processors on backend credit card event form

parent 77c081c2
......@@ -432,6 +432,7 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
}
$this->_processors = array();
foreach ($this->_paymentProcessors as $id => $processor) {
if ($processor['is_test'] == ($this->_mode == 'test')) {
$this->_processors[$id] = ts($processor['name']);
if (!empty($processor['description'])) {
$this->_processors[$id] .= ' : ' . ts($processor['description']);
......@@ -440,6 +441,7 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
$this->_recurPaymentProcessors[$id] = $this->_processors[$id];
}
}
}
CRM_Financial_Form_Payment::addCreditCardJs();
}
$this->assign('recurringPaymentProcessorIds',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment