From b5daa8dadd02cd1d6dc66c08a1889de8aacff55b Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 23 Apr 2002 19:30:13 +0000 Subject: [PATCH] GNU Bug #100797. --- infolog/index.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/infolog/index.php b/infolog/index.php index 4eff5b74ff..ca2dcd6c01 100644 --- a/infolog/index.php +++ b/infolog/index.php @@ -13,16 +13,13 @@ /* $Id$ */ - $phpgw_info['flags'] = array( + $GLOBALS['phpgw_info']['flags'] = array( 'currentapp' => 'infolog', 'noheader' => True, 'nonavbar' => True ); include('../header.inc.php'); - $obj = CreateObject('infolog.uiinfolog'); - $QUERY_STRING = 'menuaction=infolog.uiinfolog.get_list'; // to make cats-selection work if called by index.php - $obj->get_list(); - - $phpgw->common->phpgw_footer(); + header('Location: '.$GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.get_list')); + $GLOBALS['phpgw']->common->phpgw_exit(); ?>