fix php parse error

This commit is contained in:
Gnieark 2015-12-18 21:24:05 +01:00
parent 8afa863be4
commit 84c80e1e44

View File

@ -256,7 +256,7 @@ switch ($_POST['act']){
//do this shot hit a boat //do this shot hit a boat
$result=''; $result='';
foreach($_SESSION['ships'][$opponent] as $ennemyBoat{ foreach($_SESSION['ships'][$opponent] as $ennemyBoat){
if(in_array($x.",".$y, $ennemyBoat)){ if(in_array($x.",".$y, $ennemyBoat)){
$result='hit'; $result='hit';
break; break;