Merge branch '4.1'

This commit is contained in:
Robbie Averill 2019-08-15 09:58:56 +12:00
commit c190330521

View File

@ -159,7 +159,7 @@ class ContentReviewCMSExtension extends LeftAndMainExtension
$data = array_merge($data, $extraData);
}
$response = HTTPResponse::create(Convert::raw2json($data));
$response = HTTPResponse::create(json_encode($data));
$response->addHeader('Content-Type', 'application/json');
return $response;