From 98349cf608c3e8595eddf8fc8097a1b7c75407e1 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 29 Jul 2002 20:57:21 +0000 Subject: [PATCH] fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3165 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/view_header.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/view_header.php b/src/view_header.php index 4d5d0dcc..7bead916 100644 --- a/src/view_header.php +++ b/src/view_header.php @@ -12,7 +12,7 @@ */ -function parse_viewheader($imapConnection,$id,$template_vars) { +function parse_viewheader($imapConnection,$id) { global $uid_support; $header_full = array(); @@ -56,12 +56,8 @@ function parse_viewheader($imapConnection,$id,$template_vars) { $header_output[] = array($f,$s); } } - sqimap_logout($imapConnection); - - $template_vars['full_header'] = $header_output; - - return $template_vars; + return $header_output; } function view_header($template_vars, $pageheader='', $pagefooter='') { -- 2.25.1