diff --git a/htdocs/facture.class.php3 b/htdocs/facture.class.php3 index 4361d590988..e5557e437d6 100644 --- a/htdocs/facture.class.php3 +++ b/htdocs/facture.class.php3 @@ -89,23 +89,14 @@ class Facture { { $this->id = $this->db->last_insert_id(); - $sql = "INSERT INTO llx_fa_pr (fk_facture,fk_propal) VALUES ($this->id, $this->propalid);"; - if ( $this->db->query($sql) ) - { - return $this->id; - } - else - { - print $this->db->error() . '
'.$sql; - return $this->id; - } - + return $this->id; } else { print $this->db->error() . '
'.$sql; return 0; } + } /*