diff --git a/lib/Cake/Network/CakeResponse.php b/lib/Cake/Network/CakeResponse.php index b8aa9e643..556b43767 100644 --- a/lib/Cake/Network/CakeResponse.php +++ b/lib/Cake/Network/CakeResponse.php @@ -1465,7 +1465,7 @@ class CakeResponse { $file->open('rb'); $end = $start = false; - if (!empty($range)) { + if (is_array($range) && !empty($range)) { list($start, $end) = $range; } if ($start !== false) {