aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/lib/BulkUpload/MultipartRequestParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/BulkUpload/MultipartRequestParser.php b/apps/dav/lib/BulkUpload/MultipartRequestParser.php
index b6c4fbcc1be..97aa0597b34 100644
--- a/apps/dav/lib/BulkUpload/MultipartRequestParser.php
+++ b/apps/dav/lib/BulkUpload/MultipartRequestParser.php
@@ -134,7 +134,7 @@ class MultipartRequestParser {
$headers = $this->readPartHeaders();
- $content = $this->readPartContent($headers['content-length'], $headers['x-file-md5']);
+ $content = $this->readPartContent((int)$headers['content-length'], $headers['x-file-md5']);
return [$headers, $content];
}