diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php index 18d1155f17..db7b83cbba 100644 --- a/app/recordings/recordings.php +++ b/app/recordings/recordings.php @@ -579,7 +579,7 @@ // If the range starts with an '-' we start from the beginning // If not, we forward the file pointer // And make sure to get the end byte if spesified - if ($range0 == '-') { + if ($range == '-') { // The n-number of the last bytes is requested $c_start = $size - substr($range, 1); }