From e19f1397e661c345efaee39e9493c3249022ad16 Mon Sep 17 00:00:00 2001 From: Aidan Saunders Date: Fri, 13 Jan 2023 16:43:16 +0000 Subject: [PATCH] Fix failure when changing processor type on add Payment Processor screen --- CRM/Admin/Form/PaymentProcessor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Admin/Form/PaymentProcessor.php b/CRM/Admin/Form/PaymentProcessor.php index 1700337313..2e6a3b99d1 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -114,13 +114,13 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { $this->assign('ppTypeName', $this->_paymentProcessorDAO->name); if ($this->_id) { - $refreshURL = CRM_Utils_System::url('civicrm/admin/paymentProcessor', + $refreshURL = CRM_Utils_System::url('civicrm/admin/paymentProcessor/edit', "reset=1&action=update&id={$this->_id}", FALSE, NULL, FALSE ); } else { - $refreshURL = CRM_Utils_System::url('civicrm/admin/paymentProcessor', + $refreshURL = CRM_Utils_System::url('civicrm/admin/paymentProcessor/edit', "reset=1&action=add", FALSE, NULL, FALSE ); -- 2.25.1