Modifications pour compatibilité php8.5
This commit is contained in:
parent
4aafa3f44f
commit
60576955c1
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue