Bug #0002219: Compatibilité PHP 8.2 , 8.1 , 8.0

This commit is contained in:
sparkyx 2023-02-01 16:49:24 +01:00
parent 1c7f0086a6
commit 21b1cb3d84
36 changed files with 103 additions and 100 deletions

View file

@ -197,7 +197,7 @@ class Acc_Report
function upload()
{
if ( empty ($_FILES) ) return;
if ( strlen(trim($_FILES['report']['tmp_name'])) == 0 )
if ( noalyss_strlentrim($_FILES['report']['tmp_name'])== 0 )
{
alert("Nom de fichier est vide");
return;