From: Eileen McNaughton Date: Wed, 23 Jun 2021 06:00:15 +0000 (+1200) Subject: Remove deprecated use of format money X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=71093426e78ceb671b2e139e71957e15c0157cfc;p=civicrm-core.git 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 --- 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}