From cb09c054b6a386e57769da7525df59de29b5db0f Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Tue, 17 Feb 2026 18:34:04 +0000 Subject: [PATCH] a --- Societes/ebene/Tarifs/Controleur/Editioncarteassure.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php b/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php index 48bae13d..ae1e65fc 100755 --- a/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php +++ b/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php @@ -157,7 +157,7 @@ $headers = @get_headers($photoPath); //if($faceRegistered=="1" && file_exists($photoPath)) // if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) { -if (!empty($photo) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) { +if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) { $data = decryptImage($photoPath); $data = base64_decode($data); $temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg'; @@ -178,11 +178,11 @@ var_dump( array( "faceRegistered" => $faceRegistered, // "photo" => $photo, - "phophotoPathto" => $photoPath, + "photoPath" => $photoPath, // "headers" => $headers, "strpos" => strpos($headers[0], '200'), "temp" => $temp, - "lienPhotoFace" => $lienPhotoFace, + "lienPhotoFace" => $_SESSION['lienPhotoFace'], ) ); echo "

";