Fix another PHP8 depreciation
This commit is contained in:
parent
56f90fad60
commit
00ae3cd89e
|
@ -72,7 +72,7 @@ class Facture
|
|||
throw new UserException("Clé inattendue : $k.");
|
||||
}
|
||||
|
||||
if(!is_array($data)){
|
||||
if(!is_array($data) && null !== $data){
|
||||
$datas[$k] = trim($data);
|
||||
}
|
||||
if ($datas[$k] === '' && $k != 'numero')
|
||||
|
|
Loading…
Reference in New Issue