From a882aca4d4f36938b33deb31b6a2387af29e3b75 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 4 Aug 2003 18:09:03 +0000 Subject: [PATCH] Suppression insertion dans la table banque --- htdocs/paiement.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index ee03cc27b5e..eef1e317ac5 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -58,10 +58,7 @@ class Paiement if ($result) { - $label = "Facture $this->facnumber - $this->societe"; - $sql = "INSERT INTO llx_bank (datec, dateo, amount, author, label)"; - $sql .= " VALUES (now(), $this->datepaye, $this->amount,'$this->author', '$this->label')"; - $result = $this->db->query($sql); + } else {