Merge branch '4.1'

This commit is contained in:
Robbie Averill 2019-08-15 09:58:56 +12:00
commit c190330521
1 changed files with 1 additions and 1 deletions

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;