FIX #4cc7da8 opening braces

This commit is contained in:
Thierry François 2014-09-06 14:52:38 +03:00
parent aaaca90a93
commit c72310ff61
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ class GridFieldBulkUpload_Request extends RequestHandler
*/
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');
}else{