Skip to content

Commit

Permalink
Merge pull request #35048 from nextcloud/backport/34834/stable25
Browse files Browse the repository at this point in the history
[stable25] Fix size calculation on copying the skeleton files
  • Loading branch information
PVince81 authored Nov 14, 2022
2 parents f9459b0 + d485db3 commit 1a75cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/legacy/OC_Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public static function copyr($source, \OCP\Files\Folder $target) {
closedir($dir);
return;
}
stream_copy_to_stream($sourceStream, $child->fopen('w'));
$child->putContent($sourceStream);
}
}
}
Expand Down

0 comments on commit 1a75cc1

Please sign in to comment.