From 9a542943b4e9d02ac15c565736402d2d38cd3ee7 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sun, 29 Nov 2015 00:04:13 +0100 Subject: [PATCH] oups --- src/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index 4dca275..c903ff0 100644 --- a/src/functions.php +++ b/src/functions.php @@ -153,7 +153,7 @@ function save_battle($game,$bot1,$bot2,$resultat){ mysqli_query($lnMysql, "INSERT INTO arena_history(game,player1_id,player2_id,".$field.") VALUES - ('"..mysqli_real_escape_string($lnMysql,$game)."', + ('".mysqli_real_escape_string($lnMysql,$game)."', '".$bots[$bot1]."', '".$bots[$bot2]."', '1')