From fdcab13796e69e8ac86ee627c67ece1f66854f94 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 30 Nov 2017 18:22:30 +1300 Subject: [PATCH] CRM-21482 follow up notice fix - sync function signatures on getCurrency --- CRM/Financial/Form/Payment.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CRM/Financial/Form/Payment.php b/CRM/Financial/Form/Payment.php index ba9412b4d7..b5d2c22066 100644 --- a/CRM/Financial/Form/Payment.php +++ b/CRM/Financial/Form/Payment.php @@ -82,9 +82,14 @@ class CRM_Financial_Form_Payment extends CRM_Core_Form { } /** + * Get currency + * + * @param array $submittedValues + * Required for consistency with other form methods. + * * @return string */ - public function getCurrency() { + public function getCurrency($submittedValues = array()) { return $this->currency; } -- 2.25.1