Skip to content

Commit

Permalink
Typo Fix in recordings.php (fusionpbx#6504)
Browse files Browse the repository at this point in the history
  • Loading branch information
demonspork authored Dec 8, 2022
1 parent 7997d80 commit a62235e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/recordings/recordings.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ function range_download($file) {
// 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);
}
Expand Down

0 comments on commit a62235e

Please sign in to comment.