summaryrefslogtreecommitdiff
path: root/www-ssl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/inc')
-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);
}