* Fixed the MOTD
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 May 2001 14:36:54 +0000 (14:36 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 May 2001 14:36:54 +0000 (14:36 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1388 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/redirect.php
src/webmail.php

index 074fe36..c9ace43 100644 (file)
@@ -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");
index c4f6fdd..dfca03d 100644 (file)
@@ -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')