Modifications pour compatibilité php8.5

This commit is contained in:
Jean-Christophe Engel 2026-01-05 11:42:56 +01:00
parent 4aafa3f44f
commit 60576955c1
2 changed files with 3 additions and 3 deletions

View file

@ -499,7 +499,7 @@ class Facture
public $recu_fields = ['id', 'label', 'amount', 'date', 'expiry', 'paid', 'paid_amount'];
public function getCotis(int $user_id, int $su_id = null)
public function getCotis(int $user_id, ?int $su_id = null)
{
$where = 'WHERE su.id_user = ?';
if (null !== $su_id)