From: Tim Otten Date: Tue, 9 Jan 2024 04:18:38 +0000 (-0800) Subject: CRM_Utils_System::sendResponse() - Provide copy of $response for testers X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f22053e1588e73b65b6b3ded063b254dba604a40;p=civicrm-core.git CRM_Utils_System::sendResponse() - Provide copy of $response for testers --- 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]); } /**