pull/93/head
gnieark 8 years ago
parent 9c74f4cef4
commit 9dfefacef9

@ -288,7 +288,8 @@ switch ($_POST['act']){
}
if(!preg_match('/^[0-9]+,[0-9]+$/',$anwserPlayerJson['play'])){
if ((!isset($anwserPlayerJson['play']))
OR (!preg_match('/^[0-9]+,[0-9]+$/',$anwserPlayerJson['play']))){
echo json_encode(array(
'target' => '',
'log' => $fullLogs.$currentBot['name']." a fait une réponse non conforme, il perd."));

Loading…
Cancel
Save