From 1cd70d19d8c61e3c957db1bbefa0e67da2531aba Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 18 Jul 2023 14:45:17 +1000 Subject: [PATCH] [REF] Ensure that url that is stored as context is generated correctly for backend usage in wordpress --- 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 e08f106993..0b32bcfc54 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -94,7 +94,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { */ public function preProcess() { parent::preProcess(); - CRM_Core_Session::singleton()->pushUserContext('civicrm/admin/paymentProcessor?reset=1'); + CRM_Core_Session::singleton()->pushUserContext(CRM_Utils_System::url('civicrm/admin/paymentProcessor', ['reset' => 1], FALSE, NULL, FALSE)); $this->setPaymentProcessorTypeID(); $this->setPaymentProcessor(); -- 2.25.1