summaryrefslogtreecommitdiffstats
path: root/files/ajax/download.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/ajax/download.php')
-rw-r--r--files/ajax/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ajax/download.php b/files/ajax/download.php
index 2bbf1df4eca..4c756f9b190 100644
--- a/files/ajax/download.php
+++ b/files/ajax/download.php
@@ -26,7 +26,7 @@ require_once('../../lib/base.php');
// Check if we are a user
if( !OC_User::isLoggedIn()){
- header( "Location: ".OC_Helper::linkTo( "index.php" ));
+ header( "Location: ".OC_Helper::linkTo( "", "index.php" ));
exit();
}