Merge pull request #35050 from nextcloud/backport/34834/stable23

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

View file

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