a
This commit is contained in:
parent
90b79c9d5c
commit
6397ede82d
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user