Warning fix for QA
authorWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 8 Mar 2016 06:10:00 +0000 (11:40 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 8 Mar 2016 06:10:00 +0000 (11:40 +0530)
CRM/Core/Payment/ProcessorForm.php

index 463c6abeecff5a959ef467486653c2db81f3c7b7..f33d98ae196095650ee5dfd7b16c0645760704af 100644 (file)
@@ -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'])) {