forked from vergnet/site-accueil-insa
arreter l'epreuve
This commit is contained in:
parent
b2edaba5c2
commit
9c5d8b943d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue