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) ) {