From: jangliss Date: Tue, 23 Aug 2005 14:54:08 +0000 (+0000) Subject: Fix for 1222436. Forwarding broken when compose in new window not used. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bd466893162021274eda713b25e631738fe6226e;p=squirrelmail.git Fix for 1222436. Forwarding broken when compose in new window not used. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9983 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/ChangeLog b/ChangeLog index fa27d338..3fa94758 100644 --- a/ChangeLog +++ b/ChangeLog @@ -433,6 +433,7 @@ Version 1.5.1 -- CVS in formatBody() function (#1258925). - login_form hook changed from do_hook to concat_hook_function in order to place form elements before login button (#1245070). + - Forwarding broken when not using compose in new window (#1222436). Version 1.5.0 - 2 February 2004 ------------------------------- diff --git a/src/right_main.php b/src/right_main.php index 8b555c1e..e7e5d7d0 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -302,7 +302,7 @@ if (isset($aMailbox['FORWARD_SESSION'])) { session_write_close(); // we have to redirect to the compose page $location = SM_PATH . 'src/compose.php?mailbox='. urlencode($mailbox). - '&session='.$aMailbox['FORWARD_SESSION']; + '&session='.$aMailbox['FORWARD_SESSION']; header("Location: $location"); exit; } @@ -393,4 +393,4 @@ $oTemplate->display('footer.tpl'); /* add the mailbox to the cache */ $mailbox_cache[$account.'_'.$aMailbox['NAME']] = $aMailbox; sqsession_register($mailbox_cache,'mailbox_cache'); -?> \ No newline at end of file +?>