1
0
Fork 0

Merge pull request #7070 from nicolas-grekas/fix

Fix RemoteFilesystem::getRemoteContents() on-failure behavior
pull/7213/merge
Jordi Boggiano 2018-04-12 11:41:04 +02:00 committed by GitHub
commit e76d32817e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ class RemoteFilesystem
{
$contents = file_get_contents($fileUrl, false, $context);
return array($http_response_header, $contents);
return array(isset($http_response_header) ? $http_response_header : null, $contents);
}
/**