From a32f765af4c7d1d2ccc487b0ed1585da685149fe Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 21 Oct 2003 16:26:50 +0000 Subject: [PATCH] Ajout valeur de retour --- htdocs/paiement.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {