From 73dc70363a1e5cc9334af5e484b4aa524efd71b5 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 1 Mar 2022 18:44:20 -0500 Subject: [PATCH] php notices --- CRM/Contribute/BAO/Contribution.php | 15 +++++++++++++++ CRM/Contribute/Form/ContributionView.php | 9 ++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index b6bc396748..accc14ae80 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -4280,6 +4280,11 @@ LIMIT 1;"; 'is_refund' => 0, ]), 'title' => ts('Record Payment'), + 'accessKey' => '', + 'ref' => '', + 'name' => '', + 'qs' => '', + 'extra' => '', ]; if (CRM_Core_Config::isEnabledBackOfficeCreditCardPayments()) { @@ -4292,6 +4297,11 @@ LIMIT 1;"; 'mode' => 'live', ]), 'title' => ts('Submit Credit Card payment'), + 'accessKey' => '', + 'ref' => '', + 'name' => '', + 'qs' => '', + 'extra' => '', ]; } if ($contributionStatus !== 'Pending') { @@ -4303,6 +4313,11 @@ LIMIT 1;"; 'is_refund' => 1, ]), 'title' => ts('Record Refund'), + 'accessKey' => '', + 'ref' => '', + 'name' => '', + 'qs' => '', + 'extra' => '', ]; } return $actionLinks; diff --git a/CRM/Contribute/Form/ContributionView.php b/CRM/Contribute/Form/ContributionView.php index aa54df0c83..2e7edf0f4b 100644 --- a/CRM/Contribute/Form/ContributionView.php +++ b/CRM/Contribute/Form/ContributionView.php @@ -249,7 +249,10 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form { 'url' => 'civicrm/contact/view/contribution', 'qs' => $urlParams, 'icon' => 'fa-pencil', - 'accesskey' => 'e', + 'accessKey' => 'e', + 'ref' => '', + 'name' => '', + 'extra' => '', ]; } @@ -263,6 +266,10 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form { 'url' => 'civicrm/contact/view/contribution', 'qs' => $urlParams, 'icon' => 'fa-trash', + 'accessKey' => '', + 'ref' => '', + 'name' => '', + 'extra' => '', ]; } -- 2.25.1