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

@ -88,12 +88,12 @@ class Acc_Balance
$and=" and ";
}
if ( strlen(trim($this->from_poste)) != 0 && $this->from_poste!=-1 )
if ( strlen(noalyss_trim($this->from_poste)) != 0 && $this->from_poste!=-1 )
{
$from_poste=" $and j_poste::text >= '".$this->from_poste."'";
$and=" and ";
}
if ( strlen(trim($this->to_poste)) != 0 && $this->to_poste!=-1 )
if ( strlen(noalyss_trim($this->to_poste)) != 0 && $this->to_poste!=-1 )
{
$to_poste=" $and j_poste::text <= '".$this->to_poste."'";
$and=" and ";