From 4c09ef6ab12abe6f58b9461849a3e20765fab8a9 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 13 Jun 2016 16:13:30 +0200 Subject: [PATCH] . --- connectfour.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectfour.php b/connectfour.php index 54acba8..578bffb 100644 --- a/connectfour.php +++ b/connectfour.php @@ -125,7 +125,7 @@ switch($params['action']){ //find $opponent for($x = 0; $x < 7 ; $x++){ for($y = 0; $y < 6 ; $y++){ - if($params['board'][$y][$x] <> " " ) && ($params['board'][$y][$x] <> $params['you'] ){ + if(($params['board'][$y][$x] <> " " ) && ($params['board'][$y][$x] <> $params['you'] )){ $opponent= $params['board'][$y][$x]; } }