From fcf192c7b3ce1ca64bdea0eb31e32b88fbe5ee59 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 4 Dec 2015 16:26:05 +0100 Subject: [PATCH] fix vars names --- src/act.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/act.php b/src/act.php index bc6073c..9890462 100644 --- a/src/act.php +++ b/src/act.php @@ -22,8 +22,8 @@ switch($_POST['act']){ $rs=mysqli_query($lnMysql, "SELECT 1 FROM bots - WHERE name='".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botname']))."' - AND game='".mysqli_real_escape_string($lnMysql,$_POST['game'])."';"); + WHERE name='".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botName']))."' + AND game='".mysqli_real_escape_string($lnMysql,$_POST['botGame'])."';"); if(mysqli_num_rows($rs) > 0){ $alerts.="Un bot existant pour ce je porte le même nom\n"; }