From acf6c5f97944366952e6b373a4d59cecd08b658e Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 16 Dec 2007 23:50:35 +0100 Subject: LAYOUT: last login and logout text where displayed incorrectly sometimes in a previous commit I moved those tings to the output_header function. Turns out you can't do that, so here is the fix. --- stats.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stats.php') diff --git a/stats.php b/stats.php index 68a09af..bab9823 100644 --- a/stats.php +++ b/stats.php @@ -38,7 +38,6 @@ else if( isset($_SESSION["name"]) ) $email = DB_get_email_by_name($name); $password = DB_get_passwd_by_name($name); - /* verify password and email */ if(strlen($password)!=32) $password = md5($password); @@ -50,6 +49,8 @@ else if( isset($_SESSION["name"]) ) if($ok) { + output_status(); + DB_get_PREF($myid); DB_update_user_timestamp($myid); -- cgit v1.2.3-18-g5258