From 0994184bf94d48036aec1c6ae537efd7474a88f5 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Mon, 14 Oct 2013 09:45:32 +0200 Subject: [PATCH] Fix invoice fetch on payment page --- htdocs/compta/paiement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index b75c952b1f6..3b9d257314e 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -62,7 +62,7 @@ $object=new Facture($db); // Load object if ($facid > 0) { - $ret=$object->fetch($id); + $ret=$object->fetch($facid); } // Initialize technical object to manage hooks of paiements. Note that conf->hooks_modules contains array array