From 71093426e78ceb671b2e139e71957e15c0157cfc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 23 Jun 2021 18:00:15 +1200 Subject: [PATCH] Remove deprecated use of format money This is logging deprecation errors. It doesn't work quite right before or after but I suspect no-one much cares as it hasn't been raised before now --- CRM/Contribute/Form/AdditionalInfo.php | 2 +- templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/AdditionalInfo.php b/CRM/Contribute/Form/AdditionalInfo.php index 93c8d59779..4da64147da 100644 --- a/CRM/Contribute/Form/AdditionalInfo.php +++ b/CRM/Contribute/Form/AdditionalInfo.php @@ -27,7 +27,7 @@ class CRM_Contribute_Form_AdditionalInfo { * * @param CRM_Core_Form $form */ - public static function buildPremium(&$form) { + public static function buildPremium($form) { //premium section $form->add('hidden', 'hidden_Premium', 1); $sel1 = $sel2 = []; diff --git a/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl b/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl index c25f009fab..99e6a19c82 100644 --- a/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl +++ b/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl @@ -20,7 +20,7 @@ - +
{$form.min_amount.label}{$form.min_amount.html|crmAddClass:'no-border'|crmMoney:$currency}{$form.min_amount.html}
-- 2.25.1