From 8318184ac19ad32daf97ac14ebb8eda302bedc75 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 30 Aug 2003 12:43:02 +0000 Subject: [PATCH] Ajout information datec lors de la creation d'un nouveau produit --- htdocs/product.class.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product.class.php3 b/htdocs/product.class.php3 index 28e51169de0..af73b63d603 100644 --- a/htdocs/product.class.php3 +++ b/htdocs/product.class.php3 @@ -48,7 +48,7 @@ class Product Function create($user) { - $sql = "INSERT INTO llx_product (fk_user_author, fk_product_type) VALUES (".$user->id.",$this->type)"; + $sql = "INSERT INTO llx_product (datec, fk_user_author, fk_product_type) VALUES (now(),".$user->id.",$this->type)"; if ($this->db->query($sql) ) {