summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-12-16 23:50:35 +0100
committerArun Persaud <arun@nubati.net>2007-12-16 23:57:06 +0100
commitacf6c5f97944366952e6b373a4d59cecd08b658e (patch)
tree2d1195259980d4535b864a18c261fc28c9ddced4 /stats.php
parent4bf0b36ac7341753904f82dbc6b90cae59dc2b53 (diff)
downloade-DoKo-acf6c5f97944366952e6b373a4d59cecd08b658e.tar.gz
e-DoKo-acf6c5f97944366952e6b373a4d59cecd08b658e.tar.bz2
e-DoKo-acf6c5f97944366952e6b373a4d59cecd08b658e.zip
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.
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php3
1 files changed, 2 insertions, 1 deletions
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);