diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-11-04 17:23:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 17:23:40 +0100 |
commit | 966ee67efb509ed18ab046b6f31af84a76c5dd13 (patch) | |
tree | d19b4e309d51d4982cfa734201afb85830c9d57b | |
parent | 7ec9226cb4203bd2bc0f7ffa68a33a95ce9196ce (diff) | |
parent | 5e416c529e7b4370d3ae2f191535b768bfca6941 (diff) | |
download | nextcloud-server-966ee67efb509ed18ab046b6f31af84a76c5dd13.tar.gz nextcloud-server-966ee67efb509ed18ab046b6f31af84a76c5dd13.zip |
Merge pull request #34834 from nextcloud/bugfix/noid/skeleton-size-calc
Fix size calculation on copying the skeleton files
-rw-r--r-- | lib/private/legacy/OC_Util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 4778fe33097..429f7ed5d05 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -255,7 +255,7 @@ class OC_Util { closedir($dir); return; } - stream_copy_to_stream($sourceStream, $child->fopen('w')); + $child->putContent($sourceStream); } } } |