From 97ee9a3c0db94e0b603e934a50afeca132f82d1c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 19 Apr 2004 06:24:53 +0000 Subject: [PATCH] removed forward to just the index page --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index b062a43322..9344336f48 100755 --- a/index.php +++ b/index.php @@ -22,7 +22,8 @@ if(!$GLOBALS['sessionid']) { Header('Location: login.php'. - (isset($_SERVER['QUERY_STRING']) ? '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); + (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? + '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); exit; }