This commit is contained in:
KANE LAZENI 2026-02-14 13:45:44 +00:00
parent 90b79c9d5c
commit 6397ede82d

View File

@ -65,8 +65,10 @@ class ControleurRechercheparcarte extends Controleur {
$donneesCarte = $_POST['donneesCarte']; // ex: "IS1|ebene|ESI6936000602" => SVMx|ZWJlbmU=|RVNJNjkzNjAwMDYwMQ==
$parts = explode('|', $donneesCarte);
/*
var_dump($parts);
exit();
*/
$versionTagCarte = base64_decode($parts[0]);
$codeEntite = base64_decode($parts[1]);
@ -84,7 +86,6 @@ class ControleurRechercheparcarte extends Controleur {
);
exit();
//if (count($parts) !== 3 || $parts[0] !== 'IS1') {
if (count($parts) !== 3 || $versionTagCarte !== $versionTagCarteEncours) {
$msgErreur = 'Carte invalide / Invalid card';