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

@ -145,7 +145,7 @@ L\'email a été envoyé avec un lien et le nouveau mot de passe, vérifiez vos
elseif ($action=="req") :
$http=new HttpInput();
$request_id=$http->request("req","string", "");
if (strlen(trim($request_id))==SIZE_REQUEST) :
if (noalyss_strlentrim($request_id)==SIZE_REQUEST) :
$cn=new Database(0);
$value=$cn->get_value("select password from recover_pass where request=$1 and created_on > now() - interval '12 hours' and recover_on is null", array($request_id));