fix default value

This commit is contained in:
Frédéric FRANCE 2023-12-16 11:07:09 +01:00 committed by GitHub
parent 2cb4dd29f8
commit 8d39f4c149
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;