Mise à jour des librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:43:32 +02:00
parent b67375ae8e
commit d776be73fc
5211 changed files with 59115 additions and 25863 deletions

View File

@@ -165,8 +165,11 @@ class Google_Http_MediaFileUpload
if (308 == $this->httpResultCode) {
// Track the amount uploaded.
$range = explode('-', $response->getHeaderLine('range'));
$this->progress = $range[1] + 1;
$range = $response->getHeaderLine('range');
if ($range) {
$range_array = explode('-', $range);
$this->progress = $range_array[1] + 1;
}
// Allow for changing upload URLs.
$location = $response->getHeaderLine('location');