Skip to content

Commit

Permalink
Merge pull request #35049 from nextcloud/backport/34834/stable24
Browse files Browse the repository at this point in the history
[stable24] Fix size calculation on copying the skeleton files
  • Loading branch information
juliusknorr authored Nov 10, 2022
2 parents 97f2518 + ed6ef37 commit af87f28
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 af87f28

Please sign in to comment.