From 0a8fa009be3a8eaa69ff674ad0a4da6a88729428 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 7 Jan 2005 13:44:20 +0000 Subject: [PATCH] Bugfix --- htdocs/facture.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 2440bc9caee..ef23a5b9bc3 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -1141,7 +1141,7 @@ class Facture function demande_prelevement($user) { dolibarr_syslog("Facture::DemandePrelevement"); - if ($this->statut > 0 && $this->paye == 0 && && $this->mode_reglement == 3) + if ($this->statut > 0 && $this->paye == 0 && $this->mode_reglement == 3) { $sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."prelevement_facture_demande"; $sql .= " WHERE fk_facture=".$this->id;