Skip to content

Commit

Permalink
Fix for Azure#757
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaqi Yang committed Mar 17, 2016
1 parent 9c66662 commit 296de82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WindowsAzure/Blob/BlobRestProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ public function createBlockBlob($container, $blob, $content, $options = null)
}
}
$block = new Block();
$block->setBlockId(base64_encode(str_pad($counter++, '0', 6)));
$block->setBlockId(base64_encode(str_pad($counter++, 6, '0',STR_PAD_LEFT)));
$block->setType('Uncommitted');
array_push($blockIds, $block);
$this->createBlobBlock($container, $blob, $block->getBlockId(), $body);
Expand Down

0 comments on commit 296de82

Please sign in to comment.