summaryrefslogtreecommitdiffstats
path: root/application/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries')
-rw-r--r--application/libraries/Ddownload/drivers/Ddownload_php.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Ddownload/drivers/Ddownload_php.php b/application/libraries/Ddownload/drivers/Ddownload_php.php
index 98af458c1..90c002b58 100644
--- a/application/libraries/Ddownload/drivers/Ddownload_php.php
+++ b/application/libraries/Ddownload/drivers/Ddownload_php.php
@@ -54,7 +54,7 @@ class Ddownload_php extends Ddownload_Driver {
// 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 ($range{0} == '-')
+ if ($range[0] == '-')
{
// The n-number of the last bytes is requested
$c_start = $size - substr($range, 1);