projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e31fde
)
(REF) Tidy-up unreachable return
author
Bradley Taylor
<hello@brad-taylor.co.uk>
Wed, 11 Jan 2023 18:53:38 +0000
(18:53 +0000)
committer
Bradley Taylor
<hello@brad-taylor.co.uk>
Wed, 11 Jan 2023 18:53:38 +0000
(18:53 +0000)
CRM/Utils/REST.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/REST.php
b/CRM/Utils/REST.php
index 9a2f7ee25ea66cbf467ef3f6a82a01e9def0e324..4c6edc9c660656111c4d874a14ba87fd061f7ba5 100644
(file)
--- a/
CRM/Utils/REST.php
+++ b/
CRM/Utils/REST.php
@@
-133,7
+133,6
@@
class CRM_Utils_REST {
if (!empty($requestParams['prettyprint'])) {
// Don't set content-type header for api explorer output
return json_encode(array_merge($result), JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES + JSON_UNESCAPED_UNICODE);
- return self::jsonFormated(array_merge($result));
}
CRM_Utils_System::setHttpHeader('Content-Type', 'application/json');
return json_encode(array_merge($result));