mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Merge branch '4.1'
This commit is contained in:
commit
c190330521
@ -159,7 +159,7 @@ class ContentReviewCMSExtension extends LeftAndMainExtension
|
|||||||
$data = array_merge($data, $extraData);
|
$data = array_merge($data, $extraData);
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = HTTPResponse::create(Convert::raw2json($data));
|
$response = HTTPResponse::create(json_encode($data));
|
||||||
$response->addHeader('Content-Type', 'application/json');
|
$response->addHeader('Content-Type', 'application/json');
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
|
Loading…
Reference in New Issue
Block a user