PHP8.2 deprecated

This commit is contained in:
sparkyx 2023-11-12 22:22:27 +01:00
parent 7b13bbfe53
commit 86852bc425
5 changed files with 15 additions and 6 deletions

View file

@ -34,7 +34,10 @@ function header_txt($p_cn)
$soc=$own->MY_NAME;
$date=date('d / m / Y H:i ');
$dossier=utf8_decode(" Dossier : ".dossier::name());
$str=sprintf(" Dossier : %s",dossier::name());
// convert to latin1
$dossier=iconv('UTF-8','ISO-8859-1//IGNORE',$str);
return $dossier." ".$soc." ".$date;
}