From bfa623939306cd93216d527981926520f9a98147 Mon Sep 17 00:00:00 2001 From: Web Access Date: Tue, 8 Mar 2016 11:40:00 +0530 Subject: [PATCH] Warning fix for QA --- CRM/Core/Payment/ProcessorForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/ProcessorForm.php b/CRM/Core/Payment/ProcessorForm.php index 463c6abeec..f33d98ae19 100644 --- a/CRM/Core/Payment/ProcessorForm.php +++ b/CRM/Core/Payment/ProcessorForm.php @@ -66,7 +66,7 @@ class CRM_Core_Payment_ProcessorForm { $form->assign('suppressSubmitButton', $form->_paymentObject->isSuppressSubmitButtons()); - $form->assign('currency', $form->_values['currency']); + $form->assign('currency', CRM_Utils_Array::value('currency', $form->_values)); // also set cancel subscription url if (!empty($form->_paymentProcessor['is_recur']) && !empty($form->_values['is_recur'])) { -- 2.25.1