bugfix: lastlogin wird nicht abgedatet (sql syntax)

git-svn-id: svn://svn.cccv.de/engel-system@33 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 19 years ago
parent 1dda1aefe9
commit 4a546f6d95

@ -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);
}

Loading…
Cancel
Save