Permalink
Browse files

Reverting change

  • Loading branch information...
1 parent 4af6e81 commit ba7da6bd549636bc34070dd4cde633e3ae858bab @ghecquet ghecquet committed Jun 3, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/access.fs/class.fsAccessDriver.php
@@ -1556,7 +1556,7 @@ protected function copyUploadedData($uploadData, $destination, $messages){
}
$output = fopen($destination, "w");
$sizeRead = 0;
- while ($sizeRead > 0 && $sizeRead < intval($newFileSize)) {
+ while ($sizeRead < intval($newFileSize)) {
$chunk = fread($input, 4096);
$sizeRead += strlen($chunk);
fwrite($output, $chunk, strlen($chunk));

0 comments on commit ba7da6b

Please sign in to comment.