summaryrefslogtreecommitdiff
path: root/lib/exe/fetch.php
diff options
context:
space:
mode:
authorGerry Weißbach <gerry.w@gammaproduction.de>2014-01-27 10:21:08 +0100
committerGerry Weißbach <gerry.w@gammaproduction.de>2014-01-27 10:21:08 +0100
commita0e46368e9ad87d959bd921504ced42bc3d5b4bc (patch)
tree229d4f13212fff6042ad4f300795569228327dce /lib/exe/fetch.php
parent499df7e58de676339d1267e82dc44238db31c210 (diff)
downloadrpg-a0e46368e9ad87d959bd921504ced42bc3d5b4bc.tar.gz
rpg-a0e46368e9ad87d959bd921504ced42bc3d5b4bc.tar.bz2
Re-order parameters to not break other callers
Diffstat (limited to 'lib/exe/fetch.php')
-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 16426938f..5f82ad0e0 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -89,7 +89,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['orig'], $data['mime'], $data['download'], $data['cache'], $data['ispublic']);
+ sendFile($data['file'], $data['mime'], $data['download'], $data['cache'], $data['ispublic'], $data['orig']);
}
// Do something after the download finished.
$evt->advise_after(); // will not be emitted on 304 or x-sendfile