From 4a546f6d95a853e687cc9e990aaaf7170965202d Mon Sep 17 00:00:00 2001 From: cookie Date: Wed, 9 Nov 2005 17:51:20 +0000 Subject: [PATCH] bugfix: lastlogin wird nicht abgedatet (sql syntax) git-svn-id: svn://svn.cccv.de/engel-system@33 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 8dac6324..dc52f8a0 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -24,7 +24,7 @@ include ("./inc/UserCVS.php"); if( isset($_SESSION['UID'])) { $SQLlastLogIn = "UPDATE `User` SET ". - "`lastLogIn` = ". gmdate("YmjHis", time()). + "`lastLogIn` = '". gmdate("Y-m-j H:i:s", time()). "'". " WHERE `UID` = '". $_SESSION['UID']. "' LIMIT 1;"; mysql_query ($SQLlastLogIn, $con); }