Skip to content

Commit

Permalink
Merge branch 'release/1.1.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
hueyl77 committed Jul 28, 2017
2 parents 533b9d3 + ffe9475 commit 4d67a70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# Filestack-php Changelog

## 1.1.7 (July 28, 2017)
- Small file upload bugfix

## 1.1.6 (June 14, 2017)
- Added Image Tagging and Safe For Work functionalities

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.1.6
1.1.7
6 changes: 5 additions & 1 deletion filestack/mixins/CommonMixin.php
Expand Up @@ -601,7 +601,11 @@ protected function appendS3Promises($jobs, $api_results, &$s3_promises)
$json = json_decode($result['value']->getBody(), true);
$query = parse_url($json['url'], PHP_URL_QUERY);
parse_str($query, $params);
$part_num = intval($params['partNumber']);

$part_num = 1;
if (array_key_exists('partNumber', $params)) {
$part_num = intval($params['partNumber']);
}

$headers = $json['headers'];
$seek_point = $jobs[$part_num]['seek_point'];
Expand Down

0 comments on commit 4d67a70

Please sign in to comment.