'error', 'code' => 'session', 'message' => 'session')); exit; } $intEveId = 0; if (!empty($_REQUEST['promoteur_eve_id'])) { $intEveId = fxInscrGestionParseEveId($_REQUEST['promoteur_eve_id']); } if ($intEveId <= 0 || !fxInscrGestionCanScan($_SESSION['com_id'], $intEveId)) { echo json_encode(array('state' => 'error', 'message' => fxInscrGestionT('inscr_gestion_qr_invalid'))); exit; } $strRaw = ''; if (!empty($_REQUEST['qr'])) { $strRaw = $_REQUEST['qr']; } elseif (!empty($_REQUEST['t'])) { $strRaw = $_REQUEST['t']; } echo json_encode(fxInscrGestionResolveQrScan($strRaw, $intEveId, $strLangue));