diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index e9ee46cd793..e0cded8daf1 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -60,7 +60,8 @@ class Paiement if ($result) { - + $this->id = $this->db->last_insert_id(); + return $this->id; } else {