diff --git a/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php b/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php index a1b9d8d1..846e6e13 100755 --- a/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php +++ b/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php @@ -154,12 +154,12 @@ $photoY = 17; $headers = null; if($photo>" " && $faceRegistered=="1") { + $photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto']; $headers = @get_headers($photoPath); } // if ($assure['lienPhoto']>" " && $headers && $faceRegistered=="1") { if ($headers) { - $photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto']; $data = decryptImage($photoPath); $data = base64_decode($data); $temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';