From fc7897b8681f675198acd657d56e23b8108f5b0f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 26 Aug 2014 07:23:34 +0100 Subject: [PATCH] Fix overzealous search/replace --- CRM/Utils/JSON.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/JSON.php b/CRM/Utils/JSON.php index 3052403c25..00287a5eaa 100644 --- a/CRM/Utils/JSON.php +++ b/CRM/Utils/JSON.php @@ -44,7 +44,8 @@ class CRM_Utils_JSON { */ static function output($input) { header('Content-Type: application/json'); - CRM_Utils_JSON::output($input); + echo json_encode($input); + CRM_Utils_System::civiExit(); } /** -- 2.25.1