From: Eileen McNaughton Date: Fri, 19 May 2023 02:28:23 +0000 (+1200) Subject: Enotice fix on frontend_title X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4777a0083a69b128e255e2566539bf365c8f3920;p=civicrm-core.git Enotice fix on frontend_title --- diff --git a/CRM/Financial/BAO/PaymentProcessor.php b/CRM/Financial/BAO/PaymentProcessor.php index 95e7ce2931..4a316ef147 100644 --- a/CRM/Financial/BAO/PaymentProcessor.php +++ b/CRM/Financial/BAO/PaymentProcessor.php @@ -301,6 +301,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces $fieldsToProvide = [ 'id', 'name', + 'title', + 'frontend_title', 'payment_processor_type_id', 'user_name', 'password', @@ -331,6 +333,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces $processors['values'][0] = [ 'object' => new CRM_Core_Payment_Manual(), 'id' => 0, + 'frontend_title' => ts('Pay later'), + 'title' => ts('Pay later'), 'payment_processor_type_id' => 0, // This shouldn't be required but there are still some processors hacked into core with nasty 'if's. 'payment_processor_type' => 'Manual',