summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-03-03 12:51:16 +0100
committerAndreas Gohr <andi@splitbrain.org>2013-03-03 12:51:16 +0100
commit1c7d84bee69b8965844a960fa91551634986b35f (patch)
tree3a813bea88e7d437eb10ff774222fc8992b11ab8 /lib/exe
parent4a516840077e2d3bb26c9ffca8316b3c9968d018 (diff)
downloadrpg-1c7d84bee69b8965844a960fa91551634986b35f.tar.gz
rpg-1c7d84bee69b8965844a960fa91551634986b35f.tar.bz2
fixed passed cache parameter
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/fetch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index e8853dca7..28401ab39 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -82,7 +82,7 @@ if(!defined('SIMPLE_TEST')) {
// finally send the file to the client
$evt = new Doku_Event('MEDIA_SENDFILE', $data);
if($evt->advise_before()) {
- sendFile($data['file'], $data['mime'], $data['download'], $cache, $data['ispublic']);
+ sendFile($data['file'], $data['mime'], $data['download'], $data['cache'], $data['ispublic']);
}
// Do something after the download finished.
$evt->advise_after(); // will not be emitted on 304 or x-sendfile