From cb6b53c6125b62025184a4ee0e82683925edc36d Mon Sep 17 00:00:00 2001 From: jmunro Date: Thu, 13 Jun 2002 14:36:38 +0000 Subject: [PATCH] fix for compose in new window from plugin pages, + typo fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2948 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/page_header.php b/functions/page_header.php index ef813dad..268e7bca 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -62,13 +62,13 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { Locate the first displayable form element */ - if ($session !== false) { + if ($session != false) { $compose_uri = 'src/compose.php?mailbox='. urlencode($mailbox).'&attachedmessages=true&session='."$session"; } else { $compose_uri = 'src/compose.php?newmessage=1'; $session = 0; } - + switch ( $module ) { case 'src/read_body.php': if ($compose_new_win == '1') { @@ -82,7 +82,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) { "\n