From 8d39f4c149e6ccbb5a7a15a8b769d50792e93ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 16 Dec 2023 11:07:09 +0100 Subject: [PATCH] fix default value --- htdocs/fourn/class/paiementfourn.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php index 37e937bbca0..4ca0db593c5 100644 --- a/htdocs/fourn/class/paiementfourn.class.php +++ b/htdocs/fourn/class/paiementfourn.class.php @@ -98,7 +98,7 @@ class PaiementFourn extends Paiement * @param int $fk_bank Id of bank line associated to payment * @return int Return integer <0 if KO, -2 if not found, >0 if OK */ - public function fetch($id, $ref = '', $fk_bank = '') + public function fetch($id, $ref = '', $fk_bank = 0) { $error = 0;