1
0
Fork 0

Fix headers array, fixes #2821

pull/2846/merge
Jordi Boggiano 2014-03-25 11:43:41 +01:00
parent 45fe0124f2
commit b09fb521d2
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class GitHub
// no existing token, create one // no existing token, create one
if (empty($contents['token'])) { if (empty($contents['token'])) {
$headers[] = array('Content-Type: application/json'); $headers[] = 'Content-Type: application/json';
$contents = JsonFile::parseJson($this->remoteFilesystem->getContents($originUrl, 'https://'. $apiUrl . '/authorizations', false, array( $contents = JsonFile::parseJson($this->remoteFilesystem->getContents($originUrl, 'https://'. $apiUrl . '/authorizations', false, array(
'retry-auth-failure' => false, 'retry-auth-failure' => false,