From 843707db95ee96c03aa317c3a808f78e5c5a1522 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 13 Jun 2011 18:20:51 +0200 Subject: [PATCH] Stores xnet accounts registration date. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/xnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xnet.php b/modules/xnet.php index 803cfc8..1140b98 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -254,7 +254,7 @@ class XnetModule extends PLModule if (Post::has('pwhash') && Post::t('pwhash')) { XDB::query('UPDATE accounts - SET password = {?}, state = \'active\' + SET password = {?}, state = \'active\', registration_date = NOW() WHERE uid = {?} AND state = \'pending\' AND type = \'xnet\'', Post::t('pwhash'), $res['uid']); XDB::query('DELETE FROM register_pending_xnet -- 2.1.4