arreter l'epreuve

This commit is contained in:
Baptiste 2022-08-01 11:20:23 +02:00
parent b2edaba5c2
commit 9c5d8b943d

View file

@ -23,7 +23,7 @@ if(isset($_GET['team']) AND !empty($_GET['team']))
$reqsession = $db->prepare("SELECT state, time_begin FROM ville WHERE session = ?");
$reqsession->execute(array($session));
$rs = $reqsession -> fetchAll(PDO::FETCH_ASSOC);
if($rs[0]['state']<1 OR $rs[0]['state']>2 ) {
if($rs[0]['state']!=1) {
header('Location: error.php');
}
} else {