summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-09 17:51:20 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-09 17:51:20 +0000
commit4a546f6d95a853e687cc9e990aaaf7170965202d (patch)
tree4e262492a858177003d04bfd744cfa21d8b566d0 /www-ssl
parent1dda1aefe93db907a6e91e98843d9e2db5e07690 (diff)
bugfix: lastlogin wird nicht abgedatet (sql syntax)
git-svn-id: svn://svn.cccv.de/engel-system@33 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/inc/header.php2
1 files changed, 1 insertions, 1 deletions
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);
}