From df59076b027d0e8401ee787e7f0da2ca8143ca4f Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 28 Nov 2015 15:21:37 +0100 Subject: [PATCH] fixes --- html/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/html/index.php b/html/index.php index f5cd2ed..8a98630 100644 --- a/html/index.php +++ b/html/index.php @@ -35,12 +35,11 @@ if(isset($_GET['arena'])){ $currentArena = ""; } - //form submitting if (isset($_POST['xd_check'])){ //vérifier le numero de formulaire if (($_SESSION['xd_check']!=$_POST['xd_check']) AND ($_POST['xd_check'] !="")){ - erreur ('Something wrong has appen'); + error (400, 'Something wrong has appen'); die; } //call the good act.php @@ -77,7 +76,7 @@ if($currentArena == ""){ if(isset($currentArenaArr['jsFile'])){ echo ''; + echo "\n-->"; } ?>