From c1abdf6115fb29060f52aee50aa5b7405ac92664 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 1 Oct 2004 15:22:47 +0000 Subject: [PATCH] Ajout info dans table bk4u --- htdocs/bookmark4u.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/bookmark4u.class.php b/htdocs/bookmark4u.class.php index a80b25189e1..21a4b605591 100644 --- a/htdocs/bookmark4u.class.php +++ b/htdocs/bookmark4u.class.php @@ -126,8 +126,8 @@ class Bookmark4u { // TODO rendre la base et la table générique - $sql = "INSERT INTO bookmark4u.bk4u_passwd (user, passwd, name, email)"; - $sql .= " VALUES ('$user->login',password('$user->pass'),'$user->firstname $user->name','$user->email');"; + $sql = "INSERT INTO bookmark4u.bk4u_passwd (user, passwd, name, email, logincnt,rdate)"; + $sql .= " VALUES ('$user->login',password('$user->pass'),'$user->firstname $user->name','$user->email',0,now());"; if ($this->db->query($sql)) { if ($this->db->affected_rows())