diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index b8a4645207d..bdfb5904570 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -60,7 +60,7 @@ class Paiement { if ($this->db->num_rows()) { - $obj = $this->db->fetch_object($result , 0); + $obj = $this->db->fetch_object(0); $this->id = $obj->rowid; $this->date = $obj->dp;