From 8afa863be40c6e484ae403ad200c86fef93aaa9b Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 18 Dec 2015 21:23:37 +0100 Subject: [PATCH] fix php parse error --- src/arenas/Battleship/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 0d3644a..91e60c5 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -235,7 +235,7 @@ switch ($_POST['act']){ ); $anwserPlayer=get_IA_Response($currentBot['url'],$botParamsToSend); - if(!preg_match('/^[0-9]+,[0-9]$/',$anwserPlayer){ + if(!preg_match('/^[0-9]+,[0-9]$/',$anwserPlayer)){ echo json_encode(array( 'target' => '', 'log' => $currentBot['name']." a fait une réponse non conforme, il perd"