Fix RemoteFilesystem::getRemoteContents() on-failure behavior
parent
916b488c61
commit
3b391191b9
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue