LAYOUT: last login and logout text where displayed incorrectly sometimes
[e-DoKo.git] / stats.php
index 68a09afbb6953156f4b23cb9a68015e217d67b93..bab9823aa163c4114c527c60226dd13b96b8beb1 100644 (file)
--- 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);