fix php parse error

This commit is contained in:
Gnieark 2015-12-18 21:23:37 +01:00
parent 403b9db5de
commit 8afa863be4

View File

@ -235,7 +235,7 @@ switch ($_POST['act']){
); );
$anwserPlayer=get_IA_Response($currentBot['url'],$botParamsToSend); $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( echo json_encode(array(
'target' => '', 'target' => '',
'log' => $currentBot['name']." a fait une réponse non conforme, il perd" 'log' => $currentBot['name']." a fait une réponse non conforme, il perd"