From 7bfa057499df56dc6ea5a7288b5bcf53066314c2 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Thu, 17 Dec 2015 18:51:35 +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 1b43585..bb6f27d 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -57,7 +57,7 @@ switch ($_POST['act']){ error (500,"missing parameter 2"); } - if(!is_it_possible_to_place_ships_on_grid($postValues['gridWidth'],$postValues['gridHeight'],$postValues['nbShip1'],$postValues['nbShip2'],$postValues['nbShip3'],$postValues['nbShip4'],$postValues['nbShip5'],$postvalues['nbShip6'])){ + if(!is_it_possible_to_place_ships_on_grid($postValues['gridWidth'],$postValues['gridHeight'],$postValues['nbShip1'],$postValues['nbShip2'],$postValues['nbShip3'],$postValues['nbShip4'],$postValues['nbShip5'],$postValues['nbShip6'])){ error (404,"grid is too little for these sips"); }