Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed bug: type error on large zip download, argument 2 passed to OC\…
…Streamer must be of the type integer, float given
  • Loading branch information
nico committed Apr 24, 2019
commit 8c72c636c563f56a695a955238d99b6fb7ed78ee
2 changes: 1 addition & 1 deletion lib/private/Streamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Streamer {
* @param int $numberOfFiles The number of files (and directories) that will
* be included in the streamed file
*/
public function __construct(IRequest $request, int $size, int $numberOfFiles){
public function __construct(IRequest $request, float $size, int $numberOfFiles){

/**
* zip32 constraints for a basic (without compression, volumes nor
Expand Down