X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fregister.php;h=d0b18b1ee951d12bef0c4aeac3b57b625360720d;hp=028e1bb278dd62af2ffb8dd4bc422aa8de074bfc;hb=65de9655c6002bbfee76f1c3c45b312615fb375a;hpb=a4cdb155b19c40d9b85a06d8aae0c6b291f439fc;ds=sidebyside 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');