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

@ -411,7 +411,7 @@ if ($sa == 'list')
$cn = new Database();
$msg = "dossier";
$name = $cn->get_value("select mod_name from modeledef where mod_id=$1", array($mod_id));
if (strlen(trim($name)) == 0)
if (noalyss_strlentrim($name) == 0)
{
echo "<h2 class=\"error\"> $msg inexistant</h2>";
return;