1
0
Fork 0

Fix RemoteFilesystem::getRemoteContents() on-failure behavior

pull/7070/head
Nicolas Grekas 2018-02-01 23:02:25 +01:00
parent 916b488c61
commit 3b391191b9
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);
}
/**