From 8061a3fb7663a4e8edf2f415e5547fc81bcdbcb6 Mon Sep 17 00:00:00 2001 From: fidian Date: Mon, 21 May 2001 14:36:54 +0000 Subject: [PATCH] * Fixed the MOTD git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1388 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/redirect.php | 2 ++ src/webmail.php | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/redirect.php b/src/redirect.php index 074fe366..c9ace436 100644 --- a/src/redirect.php +++ b/src/redirect.php @@ -86,6 +86,8 @@ $user_is_logged_in = true; session_register ('user_is_logged_in'); + $just_logged_in = true; + session_register ('just_logged_in'); if(isset($rcptemail)) header("Location: webmail.php?right_frame=compose.php&rcptaddress=$rcptemail"); diff --git a/src/webmail.php b/src/webmail.php index c4f6fdd5..dfca03d8 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -83,8 +83,7 @@ } else if ($right_frame == 'compose.php') { $right_frame_url = "compose.php?send_to=$rcptaddress"; } else { - if (!isset($just_logged_in)) $just_logged_in = 0; - $right_frame_url = "right_main.php?just_logged_in=$just_logged_in"; + $right_frame_url = "right_main.php"; } if ($location_of_bar == 'right') -- 2.25.1