From 7819407287d589bf0a5d5d202e8606faf08772f9 Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 31 Jul 2002 21:40:43 +0000 Subject: [PATCH] redirect to last post location in case of a expired session git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3208 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/webmail.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/webmail.php b/src/webmail.php index 34008cff..2a4e0cdc 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -90,8 +90,7 @@ else { */ if (!isset($right_frame)) { $right_frame = ''; -} - +} if ($right_frame == 'right_main.php') { $urlMailbox = urlencode($mailbox); $right_frame_url = @@ -102,8 +101,10 @@ if ($right_frame == 'right_main.php') { $right_frame_url = 'folders.php'; } elseif ($right_frame == 'compose.php') { $right_frame_url = "compose.php?send_to=$rcptaddress"; -} else { +} else if ($right_frame == '') { $right_frame_url = 'right_main.php'; +} else { + $right_frame_url = urldecode($right_frame); } if ($location_of_bar == 'right') { -- 2.25.1