php8.1 : compatibility

This commit is contained in:
Dany De Bontridder 2022-08-27 16:54:30 +02:00 committed by sparkyx
parent 778400a506
commit d606c1d6fa
18 changed files with 131 additions and 32 deletions

View file

@ -130,7 +130,7 @@ class Acc_Account
if ( $count > 0)
throw new Exception (_("Poste en double"),EXC_DUPLICATE);
if (trim($this->data_sql->pcm_lib)=="")
if (noalyss_trim($this->data_sql->pcm_lib)=="")
throw new Exception (_("Libellé vide"),EXC_PARAM_VALUE);
// can not depend of itself