X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FForm%2FAbstractEditPayment.php;h=bc37b6f8a9be49b9fe43ab4a63b2f1dffabc803e;hb=a6abc1eddd06c8b484ef88a1400e875df0c6f066;hp=38aea6074b9a1678ecd98b281b08c5776a925d9e;hpb=6e8fb1535c7101c680cbcfdd7beb54a8a30ef62f;p=civicrm-core.git diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 38aea6074b..bc37b6f8a9 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -391,9 +391,9 @@ WHERE contribution_id = {$id} // for some reason there was a need to filter here per commit history - but this indicates a problem // somewhere else. if ($processor['is_test'] == ($this->_mode == 'test')) { - $this->_processors[$id] = ts($processor['name']); + $this->_processors[$id] = $processor['name']; if (!empty($processor['description'])) { - $this->_processors[$id] .= ' : ' . ts($processor['description']); + $this->_processors[$id] .= ' : ' . $processor['description']; } if ($processor['is_recur']) { $this->_recurPaymentProcessors[$id] = $this->_processors[$id]; @@ -578,9 +578,7 @@ WHERE contribution_id = {$id} $this->_params['month'] = CRM_Core_Payment_Form::getCreditCardExpirationMonth($this->_params); } $this->assign('credit_card_exp_date', CRM_Utils_Date::mysqlToIso(CRM_Utils_Date::format($this->_params['credit_card_exp_date']))); - $this->assign('credit_card_number', - CRM_Utils_System::mungeCreditCard($this->_params['credit_card_number']) - ); + $this->assign('credit_card_number', CRM_Utils_System::mungeCreditCard($this->_params['credit_card_number'])); $this->assign('credit_card_type', CRM_Utils_Array::value('credit_card_type', $this->_params)); } $this->_params['ip_address'] = CRM_Utils_System::ipAddress();