summaryrefslogtreecommitdiffstats
path: root/include/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/register.php')
-rw-r--r--include/register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/register.php b/include/register.php
index 028e1bb..d0b18b1 100644
--- a/include/register.php
+++ b/include/register.php
@@ -113,7 +113,7 @@ if(myisset('Rfullname','Remail','Rtimezone') )
$r=DB_query('INSERT INTO User VALUES(NULL,'.DB_quote_smart($_REQUEST['Rfullname']).
','.DB_quote_smart($_REQUEST['Remail']).
','.DB_quote_smart($hash).
- ','.DB_quote_smart($_REQUEST['Rtimezone']).',NULL,NULL)');
+ ','.DB_quote_smart($_REQUEST['Rtimezone']).',CURRENT_TIMESTAMP,CURRENT_TIMESTAMP)');
}
else /* hash function didn't work */
$r=0;
@@ -124,7 +124,7 @@ if(myisset('Rfullname','Remail','Rtimezone') )
$r=DB_query('INSERT INTO User VALUES(NULL,'.DB_quote_smart($_REQUEST['Rfullname']).
','.DB_quote_smart($_REQUEST['Remail']).
','.DB_quote_smart(md5($password)).
- ','.DB_quote_smart($_REQUEST['Rtimezone']).',NULL,NULL)');
+ ','.DB_quote_smart($_REQUEST['Rtimezone']).',CURRENT_TIMESTAMP,CURRENT_TIMESTAMP)');
if($r)
{
include_once('openid.php');