From 74ba1cbd9c92b405cdd13bc9f5862a0a1400922e Mon Sep 17 00:00:00 2001 From: John Kingsnorth Date: Mon, 12 Feb 2024 23:30:24 +0000 Subject: [PATCH] dev/4989 Fix non-default currency in contribution confirm and thank-you pages --- CRM/Contribute/Form/ContributionBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index f8d8592279..2b451b428a 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -1548,7 +1548,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * @throws \CRM_Core_Exception */ public function getCurrency(): string { - $currency = $this->getContributionValue('currency'); + $currency = $this->getContributionPageValue('currency'); if (empty($currency)) { $currency = CRM_Utils_Request::retrieveValue('currency', 'String'); } -- 2.25.1