mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX #4cc7da8 opening braces
This commit is contained in:
parent
aaaca90a93
commit
c72310ff61
@ -295,7 +295,7 @@ class GridFieldBulkUpload_Request extends RequestHandler
|
|||||||
*/
|
*/
|
||||||
protected function contentTypeNegotiation(&$response)
|
protected function contentTypeNegotiation(&$response)
|
||||||
{
|
{
|
||||||
if (isset($_SERVER['HTTP_ACCEPT']) && ((strpos($_SERVER['HTTP_ACCEPT'], 'application/json') !== false) || $_SERVER['HTTP_ACCEPT'] === '*/*' )) {
|
if (isset($_SERVER['HTTP_ACCEPT']) && ((strpos($_SERVER['HTTP_ACCEPT'], 'application/json') !== false) || $_SERVER['HTTP_ACCEPT'] === '*/*' ))
|
||||||
{
|
{
|
||||||
$response->addHeader('Content-Type', 'application/json');
|
$response->addHeader('Content-Type', 'application/json');
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user