From f22053e1588e73b65b6b3ded063b254dba604a40 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 8 Jan 2024 20:18:38 -0800 Subject: [PATCH] CRM_Utils_System::sendResponse() - Provide copy of $response for testers --- CRM/Utils/System/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index 8559f220b2..a5cbcaf780 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -977,7 +977,7 @@ abstract class CRM_Utils_System_Base { CRM_Utils_System::setHttpHeader($name, implode(', ', (array) $values)); } echo $response->getBody(); - CRM_Utils_System::civiExit(); + CRM_Utils_System::civiExit(0, ['response' => $response]); } /** -- 2.25.1