Skip to content

Commit

Permalink
Merge pull request #14841 from chamilwijesooriya/issue-1133
Browse files Browse the repository at this point in the history
dev/core#1133 Payment method name is displayed instead of label in payment block for Manual payment
  • Loading branch information
mattwire authored Jul 19, 2019
2 parents a6c9f40 + cf7b5c1 commit b5d4391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Payment/Manual.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function getPaymentTypeName() {
* @return string
*/
public function getPaymentTypeLabel() {
return CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'payment_instrument_id', $this->getPaymentInstrumentID());
return CRM_Core_PseudoConstant::getLabel('CRM_Contribute_BAO_Contribution', 'payment_instrument_id', $this->getPaymentInstrumentID());
}

/**
Expand Down

0 comments on commit b5d4391

Please sign in to comment.