Skip to content

Commit e2468ce

Browse files
committed
Bug fix for MediaRequestHandler
1 parent ba1f71b commit e2468ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controllers/MediaRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public static function handleMediaRequest($mediaID)
286286
$filePath = $Media->getFilesystemPath($variant);
287287
$fp = fopen($filePath, 'rb');
288288
$size = filesize($filePath);
289-
$length = $filesize;
289+
$length = $size;
290290
$start = 0;
291291
$end = $size - 1;
292292

0 commit comments

Comments
 (0)