Skip to content

Commit

Permalink
Merge pull request #34834 from nextcloud/bugfix/noid/skeleton-size-calc
Browse files Browse the repository at this point in the history
Fix size calculation on copying the skeleton files
  • Loading branch information
PVince81 authored Nov 4, 2022
2 parents 7ec9226 + 5e416c5 commit 966ee67
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 @@ -255,7 +255,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 966ee67

Please sign in to comment.