summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r--modules/system/system.api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 58e8212c0..608879d5e 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1249,8 +1249,8 @@ function hook_file_download($filepath) {
return -1;
}
return array(
- 'Content-Type: ' . $file->filemime,
- 'Content-Length: ' . $file->filesize,
+ 'Content-Type' => $file->filemime,
+ 'Content-Length' => $file->filesize,
);
}
}