This commit is contained in:
2025-12-19 20:24:59 +00:00
parent 6182e8a084
commit d99c2d6247
2 changed files with 9 additions and 3 deletions

View File

@@ -308,9 +308,10 @@ class Beneficiaire extends Modele {
$photo = "";
$_SESSION['photoAssureCrypte'] = "";
if ($_SESSION['lienPhoto_C']>" ")
if ($_SESSION['faceRegistered_C'] == "1" && $_SESSION['lienPhoto_C']>" ")
{
$photo = $_SESSION['lienPhotoFace'].$_SESSION['lienPhoto_C'];
/*
if(!file_exists($photo))
{
$_SESSION['lienPhoto_C'] = "";
@@ -319,6 +320,9 @@ class Beneficiaire extends Modele {
{
$_SESSION['photoAssureCrypte'] = decryptImage($photo);
}
*/
$_SESSION['photoAssureCrypte'] = $photo;
}
return true;