From 421dade4caf9ae21453d7c7fcadd549ecc4d48d2 Mon Sep 17 00:00:00 2001 From: Effy Elden Date: Sat, 21 May 2016 07:23:46 -0400 Subject: [PATCH] CRM-18625 - adding other missed fields (button, subject, api) ---------------------------------------- * CRM-18625: Authorize.net not saving testing URL https://issues.civicrm.org/jira/browse/CRM-18625 --- CRM/Admin/Form/PaymentProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Admin/Form/PaymentProcessor.php b/CRM/Admin/Form/PaymentProcessor.php index 9d02c01e65..52e73c556e 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -379,7 +379,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { */ public function updatePaymentProcessor(&$values, $domainID, $test) { if ($test) { - foreach (array('user_name', 'password', 'signature', 'url_site', 'url_recur') as $field) { + foreach (array('user_name', 'password', 'signature', 'url_site', 'url_recur', 'url_api', 'url_button', 'subject') as $field) { $values[$field] = empty($values["test_{$field}"]) ? CRM_Utils_Array::value($field, $values) : $values["test_{$field}"]; } } -- 2.25.1