We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f471b commit d17f496Copy full SHA for d17f496
src/Flow/File.php
@@ -121,7 +121,7 @@ public function validateFile()
121
$totalChunks = $this->request->getTotalChunks();
122
$totalChunksSize = 0;
123
124
- for ($i = 1; $i <= $totalChunks; $i++) {
+ for ($i = $totalChunks; $i >= 1; $i--) {
125
$file = $this->getChunkPath($i);
126
if (!file_exists($file)) {
127
return false;
0 commit comments