From: Eileen McNaughton Date: Mon, 8 May 2023 04:46:31 +0000 (+1200) Subject: Always assign footer_text X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b6465f43b41ee546279879e95282d9c6eb06dbf5;p=civicrm-core.git Always assign footer_text --- diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index 5d5132686d..c4c6d35692 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -108,10 +108,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $qParams .= "&pcpId={$pcpId}"; } $this->assign('qParams', $qParams); - - if (!empty($this->_values['footer_text'])) { - $this->assign('footer_text', $this->_values['footer_text']); - } + $this->assign('footer_text', $this->_values['footer_text'] ?? NULL); } /**