diff --git a/src/arenas/connectFour/act.php b/src/arenas/connectFour/act.php index 6fcee32..9d1fabb 100644 --- a/src/arenas/connectFour/act.php +++ b/src/arenas/connectFour/act.php @@ -106,7 +106,7 @@ switch ($_POST['act']){ */ //make post datas to send $postDatas=array( - 'game-id' => $_SESSION['matchId'], + 'game-id' => "".$_SESSION['matchId'], 'action' => 'play-turn', 'game' => 'connectfour', 'players' => 2, diff --git a/src/arenas/connectFour/functions.php b/src/arenas/connectFour/functions.php index 88c75b2..7b7f051 100644 --- a/src/arenas/connectFour/functions.php +++ b/src/arenas/connectFour/functions.php @@ -15,7 +15,7 @@ function get_IA_Response($iaUrl,$postParams){ ); $output= curl_exec($ch); curl_close($ch); - echo $iaUrl." ".$data_string." ".$output.'
'; + //echo $iaUrl." ".$data_string." ".$output.'
'; return json_decode($output,TRUE); } function get_Post_Params($botsCount){