Merge pull request #35048 from nextcloud/backport/34834/stable25

[stable25] Fix size calculation on copying the skeleton files
This commit is contained in:
Vincent Petry 2022-11-14 16:40:40 +01:00 committed by GitHub
commit 1a75cc19c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -254,7 +254,7 @@ class OC_Util {
closedir($dir);
return;
}
stream_copy_to_stream($sourceStream, $child->fopen('w'));
$child->putContent($sourceStream);
}
}
}