diff --git a/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php b/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php index ae1e65fc..17af1a50 100755 --- a/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php +++ b/Societes/ebene/Tarifs/Controleur/Editioncarteassure.php @@ -157,7 +157,8 @@ $headers = @get_headers($photoPath); //if($faceRegistered=="1" && file_exists($photoPath)) // if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) { -if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) { +// if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) { +if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1") { $data = decryptImage($photoPath); $data = base64_decode($data); $temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg'; @@ -179,8 +180,8 @@ var_dump( "faceRegistered" => $faceRegistered, // "photo" => $photo, "photoPath" => $photoPath, - // "headers" => $headers, - "strpos" => strpos($headers[0], '200'), + "headers" => $headers, + // "strpos" => strpos($headers[0], '200'), "temp" => $temp, "lienPhotoFace" => $_SESSION['lienPhotoFace'], )