From 28199a4052988ca38369f18c20d61c832077550a Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@arthur-schiwon.de>
Date: Sun, 17 Apr 2011 10:42:35 +0200
Subject: [PATCH] fix missing parameter in function call

---
 files/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/index.php b/files/index.php
index 7f6a11ff03c..638f5d0c51e 100644
--- a/files/index.php
+++ b/files/index.php
@@ -28,7 +28,7 @@ require( 'template.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();
 }
 
-- 
GitLab