From 735f6b9c8e0e3c9939f2b111c37d49c5fb0d3c70 Mon Sep 17 00:00:00 2001 From: stekkel Date: Tue, 15 Oct 2002 21:05:54 +0000 Subject: [PATCH] removed $session from glabal because it was messing up the comp_in_new function git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3866 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/page_header.php b/functions/page_header.php index 6d924929..7b0998ac 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -66,7 +66,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { global $hide_sm_attributions, $PHP_SELF, $frame_top, $compose_new_win, $username, $datadir, $compose_width, $compose_height, - $attachemessages, $session, $provider_name, $provider_uri; + $attachemessages, $provider_name, $provider_uri; if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) { global $_SESSION; @@ -82,7 +82,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { $frame_top = '_top'; } - if ($session != false) { + if ($session) { $compose_uri = $base_uri.'src/compose.php?mailbox='. urlencode($mailbox).'&attachedmessages=true&session='."$session"; } else { $compose_uri = $base_uri.'src/compose.php?newmessage=1'; -- 2.25.1